Access Google payment 4.0 (Kotlin)

preface Many game R & D students may need to access Google to pay. We all know the Google Documents. Sometimes it seems that they have grasped something but haven't grasped anything, resulting in the access work sometimes falling into a bottleneck. I sorted out the next Google payment interface, and added some explanatory text and extensio ...

Posted by ronz on Mon, 25 Oct 2021 01:46:17 -0700

Android beginner 2 imitates wechat APP to realize the design and development of RecyclerView control, and realize click events and picture waterfall flow

0 experimental environment Code writing and interface effect display in Android Studio 1 interface display 2 function description (1) In Last wechat interface design On the basis of, select a Fragment file to realize the design and development of RecyclerView control; (2) I choose to design the vertical layout of RecyclerView in t ...

Posted by billthrill on Sun, 24 Oct 2021 11:42:34 -0700

Second job of mobile development

1, Realize function The layout of Experiment 2 is partially improved to make the effect picture look better. On the basis of Experiment 2, click and jump the page with recycleView. For example, if a tab page is a news list, click a line to jump to the news details page; 2, Concrete implementation Intent is a messaging object that can be ...

Posted by navarre on Sun, 24 Oct 2021 07:31:05 -0700

Use RecyclerView to realize news list and Activity jump

Function effect display Interface design analysis The above APP interface is divided into two parts. The first part is the news list page and the second part is the news details page. The news list page can be implemented by recyclerView. Here, I use HtmlTextView to accept the html data returned by the url for display. The details are as ...

Posted by Spoiler on Sun, 24 Oct 2021 03:56:30 -0700

Staying up late and fighting Android - Kotlin - [what is Kotlin's static]

👉 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 order to find resonance!!! Focus on Android/Unity an ...

Posted by PCSpectra on Sat, 23 Oct 2021 18:28:01 -0700

Android discrete selection control

Recently, we need to use the drag bar in the project, and the drag bar can only be between certain values, so we found some data. SeekBar SeekBar enables discrete value selection by setting the Widget.AppCompat.SeekBar.Discrete theme. <androidx.appcompat.widget.AppCompatSeekBar android:id="@+id/seekBar" style="@style/Widge ...

Posted by mw-dnb on Fri, 22 Oct 2021 21:48:51 -0700

Jump to the item page in RecyclerView

1, Function realization requirements Implementation: in the waterfall flow page layout implemented by RecyclerView, click any commodity to jump to its commodity details page. 2, Concrete implementation The file directory is as follows: 2.1 detail page design after jump Now only jump implementation is considered. Taking the first prod ...

Posted by leszczu on Fri, 22 Oct 2021 08:24:50 -0700

Android Gradle - Groovy dynamic features and metaprogramming

preface In the last article, I mainly explained Detailed explanation of Groovy classes, methods and closures, In this article, we will explain Groovy's dynamic features and metaprogramming in detail. 1. Groovy dynamic features Speaking of dynamic characteristics, in the first article Understand Gradle and automated build In, it is just a bri ...

Posted by cloudzilla on Fri, 22 Oct 2021 03:37:22 -0700

Android Bitmap related knowledge points - type, creation, compression, conversion, etc

1, Bitmap storage format and memory calculation When we need to optimize performance or prevent OOM, we usually use RGB_565 this type. Because alpha_ Type 8 bitmap has only transparency and is not very useful. ARGB_4444 the display picture is not clear. ARGB_8888 takes up the most memory space. BItmap typeMemory occupied by one pixelALPHA ...

Posted by p3rk5 on Wed, 20 Oct 2021 13:07:10 -0700

Summary of knowledge points of interview questions of BAT large factory for Android post in 2021, and complete knowledge system

1, Picture 1,Picture library comparison 2,LRUCache principle 3,Picture loading principle 4,How to implement the picture library by yourself? 5,Glide Source code analysis 6,Glide What cache is used? 7,Glide How does the memory cache control its size? 2, Network and security mechanism 1.Network framework comparison and source code analysis ...

Posted by Jahren on Wed, 20 Oct 2021 10:45:32 -0700