Android Fragment Details (II)
In the previous section, we had a preliminary understanding of Fragment, learning about concepts, life cycle, Fragment management and Fragment transactions, and dynamic and static loading of Fragments. Beginning with this section, we will explain some examples of Fragments in actual development. And what this section explains to you is the real ...
Added by eabigelow on Sat, 25 May 2019 22:34:59 +0300
Android Face 1 (Continuous Update...)
Life Cycle Sequence of Activity A Starting Activity B
Opening Method
btClick.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent(MainActivity.this, SecondActivity.class);
Log.i("xx","intent Before and before imp ...
Added by phpbaby2009 on Fri, 24 May 2019 22:28:47 +0300
EventBus Source Details (1): Basic Use
Write before
For Android programmers, I'm sure everyone has heard the name of EventBus.EventBus is a lightweight framework for event publishing and subscription based on the Android platform that decouples publishers and subscribers and simplifies event delivery for Android.As officially stated, its advantages:
Simplified communication between ...
Added by salhzmzm on Fri, 24 May 2019 22:05:46 +0300
Data Structure and Algorithms--Introduction
Properties of the algorithm
Infinity
Availability
certainty
Terminality
-Input and Output
Description of the algorithm
Natural Language Description
Natural Language Plus Mathematical Formula
Programming Language Description
-Pseudo Code Description
Common design pattern
Enumeration Method
Enumerate the possibilities based o ...
Added by alonso on Fri, 24 May 2019 20:28:16 +0300
3.2 Usage and Communication of Fragment
Click here to enter: Fast Construction of APP Series Catalog Map from Zero
Click here to enter: UI Programming Series Directory Map
Click here to enter: Four Component Series Catalog Map
Click here to enter: Data Network and Thread Series Directory Map
This section routine download address: WillFlowFragment
How do we use d ...
Added by benji2010 on Thu, 23 May 2019 00:28:16 +0300
Common memory overflows and solutions in Android
Memory overflow in android is estimated that most people have been writing code before. What is the difference between a year's work and a three-year job? Actually, the work may be the same, and the product may see the same results. The difference is speed and quality.
Write a little thought before: there are many more things that won't be ...
Added by quimbley on Tue, 21 May 2019 20:42:42 +0300
Deep and Simple-MVP Model
Because of the use of MVP in the company's architecture model, I feel I am not familiar with it, so I decided to do this and summarize it for you.
Introduction of MVP Model
MVP is called Model View Presenter.
MVP can effectively reduce the complexity of View, avoid business logic being crammed into View, and prevent ...
Added by cleartango on Mon, 20 May 2019 04:43:46 +0300
Some common methods of arrays and summary of operations during normal work
In normal work, it is necessary to use arrays. Sometimes the data returned from the back end will be re-rendered by the back end if it is not the data front end that conforms to the dom tree rendering or by itself.Say nothing more. Let's first look at the methods contained in the arrays. Perhaps they are not complete enough. Please add some ina ...
Added by robogenus on Mon, 20 May 2019 04:33:32 +0300
Mosby MVP mode learning and tutorials, using documentation
Introduction
Introduction to MVP
The starting point of MVP is to decouple views from business logic by separating concerns.The three parts of Model-View-Presenter can be simply understood as:
Model is the data that will be displayed in the view.
View is an interface for displaying data (models) and sending user ...
Added by moreshion on Sun, 19 May 2019 19:47:09 +0300
PathMeasure Tool Class for Simple Use
Preface
Path animation is a very useful way to achieve animation, using SVG can easily achieve the effect of path animation, but the version required by SVG is relatively high, many applications can not fully support it at present. The PathMeasure tool class provided in Android system can calculate the length of the path, get ...
Added by marijn on Tue, 14 May 2019 19:32:44 +0300