I. General page navigation and return
The use of navigation is very important in any program, which is also the soul of a program. Before you do that, learn a few related components.
It has two basic properties:
child: can be put into container, icon, text. Let you build colorful buttons.
onPressed: click the response of ...
Posted on Tue, 29 Oct 2019 22:54:46 -0400 by broomstick
The Android emulator installed before can work normally. Later, because of the need to package app locally, after Android Studio is installed, the Android emulator cannot be opened. After checking the environment variables, there is no problem. SDK Manager essentially executes Android commands under ...
Posted on Tue, 29 Oct 2019 16:33:22 -0400 by toysrfive
This article starts with WeChat public's "Android development tour".
This article will take you to see the introduction of start-up optimization and various optimization methods. I hope you will get something after reading this chapter.
I believe that many students have heard the eight second law, which is a law existing in ...
Posted on Tue, 29 Oct 2019 06:54:58 -0400 by mikevarela
Earlier, when we talked about interceptors, we also talked about the calling order of interceptors. We will call the custom interceptors first, and then we will call the following interceptors. I won't talk about it here. Check the blog specifically. OKHTTP series (3) -- overview of Inter ...
Posted on Mon, 28 Oct 2019 14:56:45 -0400 by crag
This article introduces the Lifecycle of Android Jetpack architecture component, which is used to help developers manage the life cycle of Activity and Fragment. Since Lifecycle is the basis of LiveData and ViewModel, it needs to be learned first.
1. Why Lifecycle is needed
In application development, the life cycle related code of Act ...
Posted on Mon, 28 Oct 2019 12:18:41 -0400 by anarchoi
1. There is a conflict between Android's absolute positioning layout and native input.
If the absolute positioning element is at the bottom, when the keyboard pops up, the absolute positioning element will be at the top of the keyboard
terms of settlement:
Implemented with flex layout, a flex shrink is available
Or listen to the resize event t ...
Posted on Mon, 28 Oct 2019 11:34:32 -0400 by sammon96
The family became rich, bought a big wild field, called me to eat, the dishes were quite abundant, the chopsticks were not strong enough, and the silver chopsticks were very heavy. I said I'd like to change bamboo. My honey said, this silver chopsticks only had five pairs of my family. Only the distinguished guests could ...
Posted on Sun, 27 Oct 2019 21:42:38 -0400 by businessman332211
The source code is version 28, and the software used is AS.
The entry is the ActivityThread.main() method
In the main() method, an attach method will be called. In this method, an IActivityMannager will be used to call an attachApplication method. IActivityMannager is actually the age ...
Posted on Sun, 27 Oct 2019 06:50:00 -0400 by yapyapayap
Pre development configuration
Before code access, it is necessary to fill in the authorized callback domain name in the wechat background, which must be filed by ICP.
Main development process
Choose wechat payment when users place an order
Merchants conduct business logic processing and call wechat unified order interface. Wechat H5 transactio ...
Posted on Sun, 27 Oct 2019 00:03:02 -0400 by beerman
odex extraction will lead to increased memory and shorter startup time. The company's requirement is that the increased memory is acceptable. The increased start time is unacceptable.
Every time the company packs, it will encounter the problem that the apk in the prefabrication company fails to c ...
Posted on Sat, 26 Oct 2019 12:06:40 -0400 by NikkiLoveGod