Hotfix-Tinker, fix-tinker
Open source is a great surprise. You have to check it out. It is much better than nuwa. In addition, there are dedicated official documentation on github, and there are still a lot of data queries.
Reference:
Kotlin android Extension: Goodbye to findViewById (KAD 04), kotlinfindviewbyid
By Antonio Leiva
Time: Dec 12,201 6
Link: http://antonioleiva.com/kotlin-android-extensions/
You may be tired of using findViewById to write Android views day after
In Android, use the GridView and ImageViewSwitcher to implement the simple function of the electronic album, gridviewimageview
When we view the album on our mobile phone, we first see a grid-like image display interface, and then we select the photo
In Android, ViewPager is used to implement screen page switching and page carousel effects. androidviewpager
Previously, I wrote a blog post titled "using ViewFlipper in Android to implement screen switching" about how to implement screen page
Android SQLite database, androidsqlite
I. Introduction to SQLite
Google provides SQLite,He is outstanding in data storage, management, maintenance, and other aspects,The function is also very powerful.
Ii. Features of SQLite
1. lightweightTo use
Personal Understanding of callback requests in android, android callback
The Fragment class provides the onCreateOptionMenu (Menu, MenuInflater) callback function for "option Menu" management. You can call this function to create "option Menu
JSON parsing, json online Parsing
1. API
Xxx getXxx (int index): obtains the corresponding element data in the json array according to the subscript.Xxx optXxx (int index): obtains the corresponding element data in the json array according to the
Use AIDL to call the remote service and set the system time.
In actual work, users often need to set the system time using code, but Android non-system applications cannot set the system time. Therefore, I designed a time setting service that uses
Silicon Valley News 7-loop playback of carousel images on the top and 7-loop playback
Private void processData (String json ){...... // switch the ViewPager page once every 4000 if (internalHandler = null) {internalHandler = new InternalHandler ();}
Attention should be paid when using MVP for Android.
Lifecycle:Because Presenter is created by View, we need to ensure that we fully understand the life cycle of View, especially because it will most likely process state update and asynchronous
Android briefly introduces SharedPreference, internal files, and sdcard data storage,
SharedPreference
Store simple data in xml structure and store it in the data/package name/shared_prefs folder
Usage
There are three ways to create an
Android beginners can quickly create a project and android Developers
Because of gwf, Android SDK cannot be updated because the Chinese Mainland cannot connect to google.
Setting a proxy does not necessarily solve the problem.
If you are a
Handler mechanism (4) --- Handler source code parsing, handler --- handler
Handler has two main purposes: (1) to execute a message or a runnable at a certain time in the future, (2) to send a message to the message queue.
Mainly rely on post
Implement the addition and subtraction effect of the shopping cart to implement the shopping cart
Public class MainActivity extends AppCompatActivity {private ImageView img1, img2; private TextView tv1; private int mNumber = 0; private int
All image settings in Android ViewPager listen to different images displayed in the same activity,
See the previous article for monitoring all image settings in Android ViewPager.
In order to save time, the two-layer menu only displays the
Android Binder Mechanism introduction, androidbinder Mechanism
Some people who have developed Android may have some experience. At the early stage of getting started, their work mainly involves implementing various UI interfaces and implementing the
Phase 1: parse JSON and parse JSON
"Phase 1" means the first time I systematically studied Android development. This is mainly to record my learning process.
Recently I learned to parse network data in JSON format, and the job also asked me to
Linux0.11 kernel-process scheduling Analysis 2. scheduling, linux0.11 Kernel
[All Rights Reserved. For more information, see the source. Source: http://www.cnblogs.com/joey-hua/p/5596830.html]
In the previous article, process scheduling is
[Android] mobile guard blacklist function (ListView combined with SQLite addition, deletion, and modification), androidsqlite
On the modify page, add an Add button on the top horizontal bar, click to open a custom dialog box, enter the phone number
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.