Flutter realizes the transmission and analysis of routing parameters

Last Implementation of fluent page routing and 404 route interception This paper introduces the use of routing to realize page Jump, so as to simplify the coupling between pages and realize route interception. In actual development, we often need to carry routing parameters when the page jumps. A typical example is when we go from the list to t ...

Posted on Tue, 30 Nov 2021 17:22:32 -0500 by jminscoe

Fluent uses custom fluro routing transition animation to realize personalized page switching

fluro transition animation source code Before using custom transition animation, first pick the source code of fluro. Through the source code, you can find such a standard transition method: RouteTransitionsBuilder _standardTransitionsBuilder( TransitionType? transitionType) { return (BuildContext context, Animation<double> an ...

Posted on Tue, 30 Nov 2021 15:30:53 -0500 by soulmasta

What can App do to never crash

How do you handle program crashes in your project?try, of courseHow to collect exception logs?Generally, you will write a tool class by hand, and then record the log in a special way where there may be problems, and then upload it at an appropriate timeThis classmate, did you not wake up? What I asked is the exception log, which is the exceptio ...

Posted on Tue, 30 Nov 2021 03:26:15 -0500 by landonmkelsey

[suggestions] Android realizes the perfect packaging of Rxjava2+Retrofit

Learning is like sailing against the current.I learned the basic usage of rxjava and Retrofit last year, but it has not been used in practical projects. This year, we started a new project and decisively introduced rxjava and Retrofit into the new project. This article will introduce the author's encapsulation of Retrofit in the project.Let's t ...

Posted on Mon, 29 Nov 2021 22:44:19 -0500 by shedokan

ijkplayer code read_ AV in thread_ read_ Detailed explanation of frame () data stream reading process

review ijkplayer startup process: In the Android program, the user calls the encapsulation interface IjkLibLoader method to load three library files of ijkffmpeg, ijksdl and ijkplayer to Android system.Initialize the player and call the JNI interface program native_setup() function, which creates a player message queue and plays its related p ...

Posted on Mon, 29 Nov 2021 16:31:53 -0500 by son.of.the.morning

Performance tool ANRdaemon

Performance tool ANRdaemon 1, README ANRdaemon is a daemon that analyzes ANR problems caused by excessive CPU usage. The daemon uses debugfs to record information. The trace module to be captured is configured in / d/tracing in advance. Depending on the CPU usage level, trace can be accessed through the global switch / d/trace/trace_on to cont ...

Posted on Sun, 28 Nov 2021 15:22:41 -0500 by SteveMellor

Android learning column - actual combat project cool Europe weather display weather information

Series articles Tip: go to the Android learning column and watch more! Click me directly – > Android learning column In this project, pay attention to the modification of the package name prefix and change it to your own. My package name is: com.example.coolweather, otherwise an error will be reported. preface This sub topic ...

Posted on Sat, 27 Nov 2021 17:06:51 -0500 by rupertbj

Android Service explanation

1, Service IntroductionService is one of the four components in the android system (Activity, service, BroadcastReceiver and ContentProvider). It is similar to the level of Activity, but it cannot run by itself, can only run in the background, and can interact with other components. Service can be used in many applications. For example, when pl ...

Posted on Fri, 26 Nov 2021 15:37:13 -0500 by jcstanley

Deep optimization of taote fluent streaming scene

Author: Jiang Zejun (true meaning)Taote uses Flutter in many business scenarios. In addition, the business scenario itself has a certain complexity, which makes it obvious that Flutter uses native (Android/iOS) development in the sliding browsing process of low-end streaming scenarios. By analyzing the performance problems of the business layer ...

Posted on Fri, 26 Nov 2021 10:41:25 -0500 by NoSalt

Jetpack room framework usage and source code analysis

1, Introduction 1. What is Room The room framework is one of many component libraries of Android Jetpack. The emergence of Jetpack unifies the Android development ecology, various tripartite libraries are gradually replaced by official components, and room gradually replaces competitive products as the most mainstream database ORM framewo ...

Posted on Thu, 25 Nov 2021 22:10:17 -0500 by tazdevil