Implementation method of barrage effect
An implementation method and technology of barrage, applied in the fields of instruments, electrical digital data processing, electrical components, etc., can solve the problems of waste of system resources, high CPU usage, power consumption, etc., to reduce freezes, enhance user experience, and improve The effect of fluency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0047] Such as figure 1 As shown, the realization method of the barrage effect described in the present invention comprises the following steps:
[0048] Step 1, customize the Danmaku metadata class DanmakuBean, which is the Object type provided by the Android system, and is used to store the metadata of the Danmaku;
[0049] Step 2, customize the Danmaku layout class DanmakuItem, inherit the linear layout LinearLayout provided by the Android system, and use it to display bullet chatting;
[0050] The custom bullet chat layout class DanmakuItem finally returns a bitmap, which includes the user's avatar and published bullet chat content;
[0051] In the custom Danmaku layout class DanmakuItem, define the method createItem, which is used to create the Danmaku layout, obtain the corresponding View object of the avatar text and background content;
[0052] The...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com