Android IOC Annotation Library EasyUI

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 Usage method 1. Reference compile 'cn.cyq.android:easyuilibrary:1.1.0' 2. Initialization (optional) This step mainly conf ...

Posted on Mon, 20 Jan 2020 11:23:32 -0500 by svan_rv

Power consumption usage job task

Performance optimization (8.5) - source code analysis of job scheduler .JobSchedulerService 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

Android Beginner Series: what do you want to write? Phase I: ViewPager+fragment interface switch

What to think of and write the first issue: focus on simpler and understandable code to solve the problems encountered by Android Xiaobai viewPager+fragment 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

React16 source code interpretation: uncover ReactDOM.render

Introduction 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

MongoDB cluster building

Article directory I. Introduction 1. Preface Two. Start 1. Preparations 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 I. Introduction 1. Preface The environmen ...

Posted on Sat, 18 Jan 2020 03:50:25 -0500 by haixiao

The number of shard s for dynamically expanding indexes under ES7.5

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

30 lines of Python code crawls all heroes and skins of hero League Fragment 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! Pre- ...

Posted on Tue, 14 Jan 2020 01:22:54 -0500 by kristolklp

Analysis of Glide binding life cycle and callback monitoring principle

  Glide.with(this).load(url).into(imageview) 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

12.mybatis dynamic splicing sql

1. Demand: query users by gender and name Query sql:   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"> SELECT ...

Posted on Thu, 09 Jan 2020 14:08:42 -0500 by refiking

Education System APP

My module Master the development of password modification function to realize user password modification Master the development of confidentiality settings and retrieve user passwords through confidentiality Challenge Tasks 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