Constraint layout constraint layout usage resolution

1. Introduction Constraint layout constraint layout is a ViewGroup, which can be used in Android systems above Api9. Its appearance is mainly to solve the problem of too many nested layouts and locate and adjust widgets in a flexible way. From Android Studio 2.3, the official template uses ConsUTF-8...

Posted by tempa on Thu, 04 Nov 2021 05:18:30 +0530

Introduction to Android | introduction to TextView (width, height, text, spacing)

Introduction to TextView Words are a common way for us to convey information. To display text on Android applications, we usually use TextView. We already know how to get the TextView in the layout and that the setText() method can modify the displayed text.Combined with our actual life and leaUTF-8...

Posted by kybaker on Thu, 04 Nov 2021 19:43:43 +0530

04_Provider basic usage

State management In the development of fluent, state management is an eternal topic. The general principle is: if the state is private to the component, it should be managed by the component itself; If the state is to be shared across components, it should be managed by the common parent elemeUTF-8...

Posted by rowman on Thu, 04 Nov 2021 20:40:13 +0530

Some details of developing component-based framework using APT

Recommended by Haowen: Author: shouheng 1. Details of APT development component framework 1.1 how to avoid generated class conflicts First, when we generate JobHunter implementation classes for ISchedulerJob using annotations, we put all implementation classes under the package name me.shouhengUTF-8...

Posted by daok on Fri, 05 Nov 2021 11:33:56 +0530

RecyclerView source code analysis opening

1 PrefaceI'm sure everyone knows how widely RecyclerView is used. As a big killer of android, the amount of code itself is also considerable. With the mentality of sorting and learning, I started this journey of RecyclerView's source code analysis.First of all, the source code used in this seriUTF-8...

Posted by thereo on Fri, 05 Nov 2021 11:58:01 +0530

android analysis of RecyclerView recycling mechanism and actual combat (imitation exploration effect)

Or the old routine, let's see the effect! Analysis of RecyclerView recycling mechanism Before writing this effect, you need to be familiar with the recycling mechanism of Rv, because to realize this effect, you need to customize LayoutManager() As we all know, RecyclerView is a slidable View, UTF-8...

Posted by pod2oo5 on Sat, 06 Nov 2021 15:20:48 +0530

This time, solve the various pain points of the fluent dialog

preface Q: What's the most smelly thing you've ever smelled in your life? A: My rotten dream. Brother Meng!!! I'm here again! This time, I can confidently say to you: I finally brought you a pub package that can really help you solve many pit ratio scenes! Put the previous shuttle_ smart_ DialoUTF-8...

Posted by tomharding on Sun, 07 Nov 2021 08:29:08 +0530

Stay up late to learn Java language - shallow analysis of File class

👉 "About the author" As we all know, life is a long process, constantly overcoming difficulties and constantly reflecting on the process of progress. In this process, there will be a lot of questions and thoughts about life, so I decided to share all my thoughts, experiences and stories in ordUTF-8...

Posted by Avochelm on Mon, 08 Nov 2021 07:27:05 +0530

The way to advanced Android [4] read the Handler mechanism

prefaceAndroid development is certainly inseparable from dealing with Handler. It is usually used as a communication tool between main thread and sub thread, and Handler, as an important member of message mechanism in Android, does bring great convenience to our development.It can be said that UTF-8...

Posted by 44justin on Mon, 08 Nov 2021 13:15:27 +0530

Animation and transition, smooth drag animation using ViewDragHelper

Android animation and overview mainly covers the following contents: Animation and transition (I). Overview and use of view animation Animation and transition (II). Advanced view Animation: extend the definition of animation Animation and transition (III), interpolator and estimator overview anUTF-8...

Posted by jocknerd on Mon, 08 Nov 2021 22:38:21 +0530