Glide(1) Lifecycle Binding

Glide decouples in a unique way. Related articles: How Fragment s Bind to Activity's Life Cycle 1.1 Glide.with() Glide.with(FragmentActivity activity) // RequestManager with(FragmentActivity activity) public static RequestManager with(Activity activity) { return getRetriever(activity).get(activity); } publi ...

Posted by luke_barnes on Thu, 18 Jun 2020 18:09:43 +0200

How to listen for Auto Save events after Prefab modification in Editor

1) How to listen for Auto Save events after Prefab modification in Editor 2) On the advantages of turning on the Optimal option of animation files 3) Is it helpful for performance to split a large terrain into multiple mesh Colliders 4) Camera.SetReplacementShader And Projector display problems 5) FMOD can't switch sound when plugging in and ou ...

Posted by felixtgomezjr on Thu, 18 Jun 2020 09:06:01 +0200

Flutter learning notes (32) -- PointerEvent event processing

For reprint, please indicate the source: Flutter learning notes (32) -- PointerEvent event processing In Android's native development, we all know that events can be divided into down, move, and up events. For ViewGroup, events can be distributed, intercepted, and consumed. For View, events can be distributed and consumed. For Flutter, events c ...

Posted by anto91 on Thu, 18 Jun 2020 06:41:01 +0200

Android Binder-framework->native(transact->onTransact)

Previous Binder mRemote's Past and Present PowerManger.isScreenOnThe calling process for () has already been called BinderProxy.transact(); /frameworks/base/core/java/android/os/Binder.java ------> Binder.java->BinderProxy public boolean transact(int code, Parcel data, Parcel reply, int flags) throws Remote ...

Posted by Ajita on Thu, 18 Jun 2020 03:26:45 +0200

Map positioning of Tencent developed by Android

In this paper, only the teaching positioning function is used. If you need to search, 2D or 3D map, you can go to Tencent map development platform to view the api documents. Link: Tencent map 1, To Tencent map development flat download location sdk, quick access: Tencent map positioning 2, Add permissio ...

Posted by phpPunk on Tue, 16 Jun 2020 09:33:53 +0200

On Jetpack -- ROOM database

On Jetpack(1) - ViewModelOn Jetpack(2) - LifecyclesOn Jetpack(3) - LiveDataDemo project Although Android carries SQLite, its operation is troublesome, and if it is a large-scale project, it will become confusing and difficult to maintain, unless you design a very good architecture and package. Of cour ...

Posted by Runnion on Tue, 16 Jun 2020 05:22:09 +0200

Summary of knowledge points of Flutter

1. Theme color setting   class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, title: 'Flutter Demo',//Available for Android theme: Theme ...

Posted by notepad on Sun, 14 Jun 2020 02:48:02 +0200

Android Solution for page instability after turning on hot spots

1 Question After Android 8.0, we turned on hotspots in the following way, but when we jump to the page, the hotspots will be disconnected and the phones will not be able to transfer files to each other. Permission Instructions: Android 8.0 requires location and GPS permissions, while hot spots on mobile phones cannot be turned on. if (Build. ...

Posted by GirishR on Sat, 13 Jun 2020 01:55:59 +0200

Social security card information reading

In recent years, with the popularization and development of medical intelligent self-service terminal, the unattended self-service terminal realizes the patient's independent appointment, registration, report query and other services. It is not only convenient for patients to see a doctor, but also i ...

Posted by daftdog on Fri, 12 Jun 2020 12:29:19 +0200

Android system startup process analysis init process startup process

preface This series of articles briefly introduces the starting process of Android system, which will not stick to the details of the source code, so as to let readers understand the general process. In addition, we need to remind you that you need to have some C/C + + foundation to read this chapte ...

Posted by dusty on Thu, 11 Jun 2020 10:19:31 +0200