Recent Posts
-
In Android, viewpager combines with fragment for infinite sliding
The implementation of viewpager combined with fragment to realize infinite loop switching is also carried out in the a…… -
Method of Android copying SQLite database to local SD card
SQLite small database is used to save data during development. It is not introduced here. This paper only describes ho…… -
Android custom view realizes vertical timeline layout
Timeline, as the name suggests, lists the events in chronological order, bringing a more intuitive experience to users…… -
Android imitates user setting password instance
First, there are two dialog boxes. No password has been set. You need to set dialog_ set_ Password.xml. The user has s…… -
Using findviewbyme in Android to improve component search efficiency
1. Draw out Android beginners usually add setcontentview method to oncreate method to load layout when writing Android…… -
Method for Android to obtain mobile phone memory and memory available space
Examples are as follows: The above method for Android to obtain mobile phone memory and memory available space is all …… -
Recycleview in Android implements the click event of item
Recycleview in Android implements the click event of item Recycleview has attracted more and more attention because it…… -
Implementation of Android custom view calendar interface example
Now there are many custom views on the Internet to implement the demo of calendar. Today, let's talk about how to impl…… -
Implementation method of Adding Assets directory under Android studio
Sometimes you need to place some files that are not compressed by Proguard and can be placed in the assets directory. …… -
Event distribution mechanism of Android view
1、 The Android view framework provides three main operation concepts for events. 1. Event distribution mechanism, dis…… -
Android Camera2 example of judging whether the camera function is controllable
Android Camera2 adjustable function adaptation First get the equipment level: Float hardwareLevel = mCameracharacteris…… -
In Android, AutoCompleteTextView is used to format the mobile phone number with the operation of clearing the history
A small partner encountered such a problem, that is, AutoCompleteTextView realizes the function of automatic filling. …… -
Example analysis of actionbar tabs usage in Android programming
This article describes the use of actionbar tabs in Android programming. Share with you for your reference, as follows…… -
Implementation code of Android multithreaded breakpoint continuous download function
principle In fact, the principle of breakpoint continuation is very simple. Literally, the so-called breakpoint contin…… -
Android QR code generation and scanning – zxing example code
Because there are too many zxing functions on GitHub, and some of them can't be used, I extracted important ones for u…… -
Android custom view circular percentage control (I)
Do a small exercise to customize the view. The effect is as follows Just draw a circle, an arc, a percentage text, add…… -
Implementation method of scrolling effect of Android support library title bar (toolbar)
Let's start with a renderings Layout file code In the layout file, coordinatorlayout is the root node of the layout fi…… -
Solution to compatibility problem of Android setbuttondrawable()
Solution to compatibility problem of Android setbuttondrawable() Compatibility issue with setbuttondrawable() Api16 im…… -
Android skin changing technology data sorting
Android skin changing technology summary background Throughout the current Android apps, their skin changing needs can…… -
Android listview method for monitoring sliding events (detailed explanation)
Listview mainly has two sliding event listening methods, ontouchlistener and onscrolllistener 1、OnTouchListener The o…… -
Android develops a method to accurately save and restore the scroll position of list controls (recommended)
Android developers often need to save and restore the scrolling position of the list. There are many methods articles …… -
Android custom overlay control floating window control
In the process of mobile application development, we may occasionally receive such requirements: 1. Create a window on…… -
Graphical analysis of Android coordinate system and view coordinate system
1. Android coordinate system In Android, the top left corner of the screen is used as the origin of the Android coordi…… -
Default initialization based on Java variables, scopes and member variables (detailed explanation)
Variables in AVA include member variables and local variables. Variables defined outside the methods in the class beco…… -
Java programming to solve the code sharing of eight silver coins
1. Introduction The author encountered such a problem in the algorithm competition in the University. Now I take it ou…… -
Pascal triangle code example implemented by Java programming
Source program Secrets Yang Hui triangle property: The numbers in each line are symmetrical from left to right, gradua…… -
Java crawler crawls the mobile search page httpclient + jsup on JD
1. Requirements and configuration Demand: crawl the information of JD mobile phone search page, record the name, price…… -
HTTP download file client and upload file client instance code under Java
1、 Download client code The above code is only suitable for downloading small files. If you download large files, exc…… -
Webuploader realizes the function of batch upload of pictures, with example code
1. Import resources 2. Jsp code 3. JS code be careful: 4. Controller code summary The above is the webuploader that Xi…… -
Java 8 functional interface
Let's move on to the Java 8 functional programming model This program is very simple. First initialize a collection of…… -
Detailed explanation of fast power modulus algorithm implemented in Java language
The introduction of fast power modulus algorithm is proposed by the limitations of the simple algorithm of taking modu…… -
Various conversion methods for dealing with JSON in Java (recommended)
JSON, namely JavaScript object naming, is a lightweight data exchange format, which is very suitable for the interacti……