Android
-
Long press to pop up PopupMenu menu bar for Android
After the SDK 3.0 version in Android, a special menu effect is added, which can be displayed on any view and display t…… -
Accessibilityservice enables wechat to send red packets
In accessibility service, we can do simulation operations. The following describes the function of sending red packets…… -
Android realizes video barrage function
This example shares the specific code of Android video barrage for your reference. The specific contents are as follow…… -
Android custom view implements voting progress bar
This example shares the specific code of Android voting progress bar for your reference. The specific contents are as …… -
Implementation method of Android monitoring keyboard state and obtaining keyboard height
preface Android has not yet provided an appropriate API to get / monitor the status and height of the keyboard, and we…… -
Android development simple music player
Here is a simple music player for your reference. The specific contents are as follows The renderings are as follows: …… -
Android uses soundpool to play short sound effects
preface For Android to play some short sound effects, such as prompt tone or ring tone, soundpool can save more resour…… -
Android simple implementation of barrage effect
This example shares the specific code for Android to realize the barrage effect for your reference. The specific conte…… -
Android custom view to achieve subway display effect
This example shares the specific code of Android subway display board for your reference. The specific contents are as…… -
Implementation of secondary packaging of flutter Dio
catalog: EntityFactory: class EntityFactory { static T generateOBJ<T>(json) { if (json == null) { return …… -
Android custom clock effects
Recently, I've been busy. Self customization has always been a weakness. I've always wanted to play with the whole clo…… -
It is enough for windows to realize the construction and configuration of fluent environment
Recently, flutter officially entered the pit. First, I started from the environment construction. I read a lot of info…… -
Specific use of object expressions and object declarations in kotlin
The main difference between kotlin's object expression and anonymous inner class in Java: anonymous inner class can on…… -
Android custom view implementation likes control
This example shares the specific code of Android like control for your reference. The specific contents are as follows…… -
Using kotlin synergy to improve app performance
Coroutine is a concurrent design pattern that you can use on Android to simplify asynchronously executed code. Kotlin …… -
Android clock effect
This example shares the specific code of Android clock effect for your reference. The specific contents are as follows…… -
Android enables Bluetooth devices to detect connections
Both WiFi and 4G networks access Internet resources after establishing a network connection, and can not directly acce…… -
Using fluent to implement a walking lantern layout example code
The riding light is a common effect. This article talks about how to use pageview to realize a riding light in fluent.…… -
Android uses recyclerview to implement voting system
This example shares the specific code of Android voting system for your reference. The specific contents are as follow…… -
Android recyclerview realizes the effects of suspended ceiling, separation line and bottom prompt
All the effects in this article are realized through itemdecoration, which can be decoupled from the business, making …… -
Customized implementation of baseadapter for Android (general adapter 3)
In the previous article, we said that if there are many controls in SetData, we still need to write a lot of code in t…… -
Android shape properties create a circular progress bar
1. Achieve results 2. Implementation code: [1] shape_ Drawable.xml file <?xml version="1.0" encoding="utf-8"?> &…… -
Android custom view to achieve bullet screen effect
There are bullet screen functions in many live videos, but there are no simple and easy-to-use bullet screen controls …… -
Example code of long press photo pop-up right-click menu function in Android
Scene Effect Note: realization Change the layout to LinearLayout and set it as a vertical layout through Android: orie…… -
Android studio uses mocklocation for virtual location
First, you need to add the "get simulation location information" permission in the androidmanifest.xml file. <uses-…… -
Android custom timebutton implementation countdown button
The project needs to implement a button with countdown function. Its effect is similar to the function of displaying c…… -
Listen for sliding events in the flitter
At the mobile end, the original pointer event model of each platform or UI system is basically the same, that is, a co…… -
Android enables frequent playback of small audio
We are familiar with playing multimedia files (music and video) in Android using mediaplayer, but now let's talk about…… -
Android implementation options menu submenu
Android options menu and submenu learning notes for your reference. The specific contents are as follows Menu introduc…… -
Detailed explanation of the basic use of layer list in Android
Using layer list, multiple drawables can be stacked together in order. By default, drawables in all items will be auto…… -
Android custom components implement meter counting panel
A few days ago, when developing the company's project, there was a place to make a score dashboard and score according…… -
Implementation of stretchable controls with Android bottomsheet
1、 Introduction The bottom sheet is a dialog like control introduced in version 23.2 of the design support library. T……