Design of Application Context

Basically, each application will have its own Application, which inherits from the Application class of the system, and then encapsulates some common operations in its own Application class. In fact, this is not a recommended practice for Google, because we just use Application as a general tool class, and in fact use a simple singleton class c ...

Added by sungpeng on Thu, 11 Jul 2019 21:54:53 +0300

RxJava (Responsive Function Programming) First Experience

Responsive Function Programming_RxJava & RxAndroid Home page: https://github.com/ReactiveX/RxJava Chinese material: https://github.com/lzyzsd/Awesome-RxJava https://www.zhihu.com/question/35511144 1. Purpose: Asynchronous operation You can still keep the logic of your code concise in cases where the logic of you ...

Added by ekalath on Thu, 11 Jul 2019 19:33:38 +0300

Android DES Data Encryption

DES Encryption Introduction: DES is a symmetric encryption algorithm, the so-called symmetric encryption algorithm is: encryption and decryption using the same key algorithm. DES encryption arithmetic originated from IBM research and was formally adopted by the U.S. government. It has been widely used since then. But in recent years, it has ...

Added by pranesh on Thu, 11 Jul 2019 00:26:55 +0300

Method of Android adapting bottom virtual keys

Recently, when adapting the project, it was found that some of the mobile phones (such as Huawei Mobile Phone) had virtual keys at the bottom. Because of the existence of virtual keys, some of the interfaces were blocked. Because of the need for full screen display, the virtual keys hiding method was called to hide them. However, the following ...

Added by mahakmx on Wed, 10 Jul 2019 23:20:46 +0300

Android: ViewPager and Fregment

Main categories: ViewPager's Brief Explanation Optimal Implementation of ViewPager Introduction to Fregment Optimal Implementation of Fregment ViewPager in conjunction with Fregment Introduction and Function of ViewPager ViewPager is a class in the v4 package of the android extension package, which allows users to switch the current view ...

Added by salhzmzm on Wed, 10 Jul 2019 22:42:20 +0300

android-Ultra-Pull-To-Refresh Source Parsing

Project address: https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh 1. Functional introduction Drop-down refresh is a feature that almost every Android application needs. android-Ultra-Pull-To-Refresh (hereinafter referred to as UltraPTR) is a powerful Andriod drop-down refresh framework. Main features: (1) Inherited from Vi ...

Added by curt3006 on Wed, 10 Jul 2019 22:19:05 +0300

Android Custom View - Custom View Control

Android We are provided with a large number of View controls, but this is still far from meeting our requirements. Sometimes the form of control needed for development does not exist in the control provided by Android, which requires us to define one ourselves. So how to customize controls?   To learn about custom controls, you first ne ...

Added by maxcell on Wed, 10 Jul 2019 03:58:36 +0300

ListView Paging Load Data in Android

Original address: http://blog.csdn.net/liuhe688/article/details/6852523 be familiar with Android As you all know, no matter the micro-blog client or the news client, it can not be separated from the list component. It can be said that the list component is the most important component in Android data presentation. Today we will talk abou ...

Added by HAN! on Wed, 10 Jul 2019 03:09:04 +0300

Implementation of android Sqlite Orm

Preface I have always wanted to sort out the usage of database operation. Turning to GreenDao, which is now quite popular, the encapsulated CRUD grammar can not be seen. Of course, it is not that GreenDao is not good, at least not good for beginners. Learning should be gradual and know why it is good. This article refers to a God blog, togeth ...

Added by jasonc on Wed, 10 Jul 2019 01:35:04 +0300

Alignment Statistics Novice Help Document

Development of Alliance Statistical SDK 1. Setting up the Environment First, get the appKey, in Manage Background Home Page Create applications, fill in information, and the system will automatically generate appKey: Secondly, for the Android Studio environment, add gradle dependencies: dependencies { compile 'com.umeng.analyt ...

Added by EverToDesign on Wed, 10 Jul 2019 01:19:36 +0300