Introduction to EasyUI
1. Implement butterknife-like IOC frameworks using reflection mechanisms and annotations
2. Fast findViewById and OnClick
3. Extended click without network monitoring
4. Extended Quick Click Monitoring
2. Initialization (optional)
This step mainly conf ...
Posted on Mon, 20 Jan 2020 11:23:32 -0500 by svan_rv
Performance optimization (8.5) - source code analysis of job scheduler
Because when a JobSchedulerService class is instantiated, the code of the constructor will be executed:
public final class JobSchedulerService extends com.android.server.SystemService
implements StateChangedL ...
Posted on Sun, 19 Jan 2020 07:51:44 -0500 by hush
What to think of and write the first issue: focus on simpler and understandable code to solve the problems encountered by Android Xiaobai
viewPager implementation can slide left and right to switch interfaces
There are three materials: the ViewPager of the main page UI, the new Fragme ...
Posted on Sat, 18 Jan 2020 13:04:25 -0500 by ccbayer
stay Last article We quickly build a simple example through the create react app scaffold, and based on this example, we explain the implementation principle behind React.Component and React.PureComponent in class components. At the same time, we also learned that by using the Babel preset toolkit @ Babel / preset react, the return ...
Posted on Sat, 18 Jan 2020 03:53:22 -0500 by condorchou
1.1. Install MongoDB
1.2 create folder
2. Build a replica set
2.1. Build the replica set of configserver.
2.2. Build the replica set of share service
3. Build a fragment set
The environmen ...
Posted on Sat, 18 Jan 2020 03:50:25 -0500 by haixiao
In the old version of ES (for example, version 2.3), after the number of shard s of index is set, it can't be modified any more, unless the data is rebuilt.
Starting from ES6.1, ES supports online operation to expand the number of shard s (Note: index locking is also required during operation)
Starting from ES7.0, in split, it is no longer nec ...
Posted on Thu, 16 Jan 2020 10:47:45 -0500 by kevinkorb
30 lines of Python code crawls all heroes and skins of hero League
There are hundreds of personal heroes in the hero League game, and then each hero has multiple skins. As a collection controller, I really want to collect all the pictures of skin. It's hard to praise the poor family!
Posted on Tue, 14 Jan 2020 01:22:54 -0500 by kristolklp
The life cycle of Glide binding fragment and Activity is executed in the with method. With can call the corresponding get method directly for fragment, Activity, FragmentActivity, Context and View. If it is Context or View, judge the type of the Context. ...
Posted on Sun, 12 Jan 2020 03:38:50 -0500 by dc2000
1. Demand: query users by gender and name
SELECT id, username, birthday, sex, address FROM `user` WHERE sex = 1 AND username LIKE '%Zhang%'
2. Use if tag
Modify UserMapper.xml as follows:
<!-- Query users by criteria -->
<select id="queryUserByWhere" parameterType="user" resultType="user">
Posted on Thu, 09 Jan 2020 14:08:42 -0500 by refiking
Master the development of password modification function to realize user password modification
Master the development of confidentiality settings and retrieve user passwords through confidentiality
The first open page is Fragment_1. Please modify the code so that the initial open page is Fragment_3. Don't forget tha ...
Posted on Tue, 07 Jan 2020 02:41:15 -0500 by WeAnswer.IT