"Flutter animation series" combined animation

Introduction to Lao Meng: in the previous article Summary of 25 animation components in Flutter animation series http://laomengit.com/flutter/module/animated_1/ "Flutter animation series" Google engineers take you to choose the flutter animation control: http://laomengit.com/flutter/module/animated_choose/ In a project, the anim ...

Posted by kellz on Sun, 05 Apr 2020 23:38:34 -0700

Update UI across processes through AIDL

I. overview This article will work with you to learn about AIDL implementation of cross process update UI.  The requirement is: there are two activities in the same application, MainActivity and TempActivity, which are not in the same process. Now we need to change the view in MainActivity through TempActivity, that is, to modify the disp ...

Posted by pluginbaby on Sun, 05 Apr 2020 22:39:29 -0700

Pit encountered by kotlin Parcelable, used by Parcelize

When we jump between pages, we often need to pass values. In Java, we implement the Parcelable interface and the response method. However, when using Kotlin, I encountered some problems, as follows: problem 1. Create two activities, MainActivity and Main2Activity. Click the Button on MainActivity to jump to Main2Activ ...

Posted by asgerhallas on Sun, 05 Apr 2020 15:33:00 -0700

IE8 opens the homepage of the website to display the mobile website

There are many compatibility problems with IE browser Master the skill, no longer afraid Open the homepage of the website with IE browser, why does the homepage display the mobile page? Note: the current version of ie browser is IE8 and below Here is the code in CheckMobile.java file (before compilation), as follows: JA ...

Posted by fullyloaded on Sun, 05 Apr 2020 15:31:18 -0700

Android requests network data download APK

Today I wrote a small example of downloading an apk from the Internet by inputting the website. Record it for your own use. Operation rendering: Note: above Android 6.0 system, you need to dynamically apply for some dangerous permissions, that is, you need to actively pop up a dialog box to ask users whether they are willing to call the addre ...

Posted by m4x3vo on Sun, 05 Apr 2020 13:59:47 -0700

Android Studio: version number of the Support Library dependency package

When we use RecyclerView, if we want to use a specific version, how can we know the version number? If you have used this library in your notebook, it will be saved on your local hard disk.  Local storage path of version number of Android self dependent package: It doesn't matter if you haven't used this version. It's stated in Google de ...

Posted by gaogier on Sun, 05 Apr 2020 12:58:01 -0700

Download pictures in IntentService with URL and update them to ImageView

The whole process still adopts the previous logic, that is, when an Activity triggers an event, it is handed over to the IntentService for processing, and the processed result is sent to the internal class of the broadcastReceiver in the Activity for processing, so as to update the UI. The process of downloading the pic ...

Posted by evil turnip on Sun, 05 Apr 2020 12:40:03 -0700

Deep understanding of Glide life cycle management

Author: His Aunt and AuntLinks: https://www.jianshu.com/p/317b2d6bde1b This is the first in a Glide Source Parsing series where you can learn: 1. How Glide binds Activity, Fragment life cycles. 2. How Glide monitors memory and network changes. 3. How Glide handles the life cycle of requests. 1.0 Life Cycle Related UML Class Diagram 2.0 Lifec ...

Posted by Karlos2394 on Sun, 05 Apr 2020 12:16:58 -0700

Layout in android

Android learning layout and component summary Layout in android LinearLayout linear layout RelativeLayout GridLayout grid layout FrameLayout frame layout TableLayout table layout PercentFrameLayout percentage frame layout PercentRelativeLayout percentage relative layout Absolute layout In the above layout, the most ...

Posted by getmukesh on Sun, 05 Apr 2020 11:33:57 -0700

Toolbar easy to use

Toolbar This paper mainly introduces the use of toolbar. Under the v7 package, toolbar is a control that doesn't talk much and directly explains the steps. First, the theme (style) should inherit NoActionBar <style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorP ...

Posted by Adika on Sun, 05 Apr 2020 08:57:07 -0700