包含标签:Android 的文章
-
Android performance optimization using rxlifecycle to solve memory leak in rxjava
preface: In fact, I accidentally discovered the memory leak caused by rxjava. I wanted to know how to solve it through…… -
Android custom view border text, flashing text
Extend existing controls 1. Draw a textview with two layers of background as shown below Create bordertextview inherit…… -
Explain in detail the interaction between JS and app native controls
"Hot update" and "hot deployment" believe that children's shoes with hybrid development must be familiar, so how can a…… -
Android fingerprint unlock example code
Android 6.0 and above systems support fingerprint identification and unlocking function: it is used in the project, so…… -
Detailed explanation of IPC using bundle for Android
1、 Bundle introduces IPC Three of the four components (activity, service and receiver) support the transfer of bundle…… -
Android layoutinflator.inflate source code analysis
Detailed explanation of layoutinflator.inflate source code It is believed that we are familiar with the expand method …… -
Switching of multiple fragments in an activity
It is often encountered that multiple fragments are arranged on an activity interface, but how to jump from one fragme…… -
Android UI series —– dialog dialog example
In Android development, we often need to pop up a dialog box on the interface. This essay will explain the concept of …… -
Android realizes the encapsulation of login and registration function
We all know that Android applications basically use the login and registration function, so it is necessary to encapsu…… -
There is a checkbox in the item of listview. Causes and solutions of setonitemclick failure
1: Root layout settings for item Android: clickable = "true", and then the item click event will become invalid. Set …… -
Android drawer effect navigation menu implementation code example
After reading many applications, I think this kind of side sliding drawer effect menu is very good. You don't have to …… -
Android custom view to achieve glittering font effect
This example shares the specific code of glittering font effect for your reference. The specific contents are as follo…… -
Enter AutoCompleteTextView and multiautocompletetextview when prompted by Android auto completion
Take automatic completion when searching in the search box as an example: It also involves a word, tokenizer: word spl…… -
Detailed explanation of message passing between Android main thread and child thread
Send a message from the main thread to the child thread (to be exact, it should be a non UI thread) When a message is …… -
Summary of four methods to obtain screen width for Android
Android four ways to get screen width Method 1: Method 2: Method 1 is similar to method 2 in obtaining the screen widt…… -
-
Android component drawerlayout imitates Netease News v4.4 sideslip menu
summary Today's blog will record some basic usage of drawerlayout. I think there may be a lot of incomprehension about…… -
An example of how EditText shields the expression of a third-party input method in Android
preface As we all know, if the expression of the third-party input method is used, it will bring some trouble to the d…… -
Android studio default not found error resolution
Android studio gradle compilation prompt 'default not found' solution When importing a studio project and performing s…… -
Tablayout combined with viewpager in Android to realize page switching
1、 Realization idea 1. Add dependencies in build.gradle, for example: compile 'com.android.support:support-v4:23.4.0'…… -
Android custom floatingactionbutton sliding behavior only hides the summary of problems that do not appear
Let's start with the behavior code. There are a lot of online codes about floating action button (hereinafter referred…… -
Android SQLite database summary
sqlite SQLite is an ultra lightweight embedded database with a size of only a few hundred KB. However, its syntax supp…… -
Rapid development of Android shopping cart project
Shopping cart project, the business needs to implement a shopping cart project. Simply understand the implementation l…… -
Android custom star scoring control
The following is the implementation process of the control: this control is efficient and can be drawn directly using …… -
Explain in detail how to implement suspended activity in Android
Generally speaking, it is not difficult to develop a tablet version for an optimized mobile app. Using components such…… -
Detailed example of drawing Tai Chi diagram for Android
Drawing Tai Chi diagram for Android Draw a Tai Chi diagram implementation code: Thank you for reading, hope to help yo…… -
How to realize countdown without threads in Android
Requirements: Several components can enable the countdown. Under normal circumstances, the UI is updated after the end…… -
Android seekbar (custom) controls volume synchronization updates
Android seekbar control volume synchronization update As a developer, you will encounter seekbar, so how to customize …… -
Implementation method of alertdialog clicking the button does not disappear
I have a text input dialog box. When I click the "yes" button on the dialog box, it will verify the input and close th…… -
Android countdown button example code
Recently, someone asked me how to realize the countdown button function, such as sending verification code. I remember…… -
Detailed explanation and example code of Android activity bar actionbar
Detailed explanation of Android activity bar actionbar Figure I @H_ 502_ 27@ Actionbar summary of its functions Figure…… -
Android method for changing EditText underline color style
preface As we all know, when using appcompatedittext (edit text), the default underline follows the system's #ff4081 c……