Android
-
Android uses third-party libraries to implement date selectors
This article mainly introduces how to use the third-party library to realize the bottom date selector roller effect, w…… -
Detailed explanation of kotlin’s enumeration and exception examples
1、 Definition of enumeration in kotlin Enum requires two keywords enum class, for example enum class Color(val r: Int…… -
Android generates barcode and QR code
Background: With the popularity of mobile Internet and the wide application of intelligent terminal devices, mobile pa…… -
Summary of the use and principle of Android custom view
In Android development, the UI controls provided by the system are limited. When we need to use some special controls,…… -
Example code of Android dselector Bryant radio scroll selector
Rolling selector, DIY rich, damping effect, simple and beautiful, touch or click mode GitHub address YangsBryant/DSele…… -
Android treeview implements a tree organization structure with check boxes
Previously, it was used in the project and in the personnel organization structure. It can also be used in the directo…… -
Identify multiple URLs in Android textview and click the jump method to explain in detail
Implementation scheme: We directly refer to the example code: private String pattern = "((http|ftp|https)://)(([a-…… -
Fluent encapsulates the example code of a banner round robin effect
CustomBanner( this._images,{ this.height = 200,this.onTap,this.curve = Curves.linear,}) : assert(_images != null);…… -
Android custom ImageView with rounded corners
Recently, there is a requirement to implement an ImageView with rounded corners. I found three parties on the Internet…… -
Android connect anonymous WiFi sample code
preface Because the development needs to realize WiFi connection inside the application. Combined with online material…… -
Talk about exceptions and handling methods in rxjava2
preface As we all know, when an exception is thrown in a chain call in rxjava2, if there is no corresponding consumer …… -
Android to achieve long picture loading effect
A key class bitmapregiondoder is used for long graph loading. Bitmap memory reuse is used for long graph loading. For …… -
Android mediaplayer audio playback speed adjustment
Many audio and video apps on the market now have the function of double speed playback, such as adjusting the playback…… -
How kotlin captures variables and constants in context
Lambda expressions or anonymous functions can access or modify variables and constants in their context. This process …… -
Example code of Android bsearchedit search result selection box
EditText search results drop-down @ r_378_2419 @, auto or callback mode, DIY, easy to use GitHub address YangsBryant/B…… -
Android universal custom shadow control instance code
Directory introduction 01. What are the implementation methods of shadow effect What are the implementation methods of…… -
Android implements immersive status bar function
Android implements the function of immersive status bar for your reference. The specific contents are as follows 1. Th…… -
Android OpenGLES how to add filters to the camera
Filter introduction At present, there are many filters on the market, but the overall classification is just a few, wh…… -
Android shape for shadow or blurred edge effects
1. How to achieve shadow or blurred edge effect: 2. It is realized through shape, specifically through layer list mult…… -
Fluent passes values to any widget (when widgets need to be nested)
If we have such an application scenario: After widgeta executes the click, the data is passed to the widget C under it…… -
How to adapt the dark mode to the shutter (darkmode)
1. Talk nonsense I don't know what to write. I wanted to write the integration test of flutter. Because I gave it to f…… -
Implementation code of textfield component of fluent input box
TextField As the name suggests, the text input box is similar to uitextfield in IOS, EditText in Android and textinput…… -
Android’s use of okhttp may trigger a point of oom
There is a problem: you need to add signature verification to all requests to prevent brushing the interface; The inco…… -
Fluent can realize the effect of circular rotation
design sketch New adpicturewidget inherits from statefulwidget_ Adpicturewidgetstate class inherits from state < ad…… -
Android uses mediaplayer and TextureView to achieve seamless video switching
Requirement description For example, when advertising plays, each video lasts 15 seconds. When switching between video…… -
In depth explanation of window management in Android
1、 Understand Android window Window represents the concept of a window. It is an abstract concept. Each window corres…… -
Android implements the label (surround effect) effect of tilting in the upper left corner (other corners)
Let's start with the renderings Since the project needs to achieve the label effect of oblique surround in the upper l…… -
Android judge login
Whether to screen login /** * 测试是否登陆 */ loginButton.setOnClickListener(new OnClickLoginedListener(mContext) { …… -
Android implements the functions of customizing gestures and recognizing gestures
1. Complete the activity of custom gesture first 1.1 because the gesture file needs to be stored, the permission needs…… -
Implementation of fluent expansiontile hierarchical menu
development environment effect Used for multi-level menu display or selection. Such as each province, city and county…… -
Android programming method for setting the entry and exit effects of activity
This article describes the method of Android programming to set the entry and exit effects of activity. Share with you…… -
Android immersive status bar and hidden navigation bar example explanation
1 Preface Generally, in android app development, the app interface is as follows: You can see that there are status ba……