Kotlin - > Scope Selection Progress Bar, Two-way SeekBar

First of all, look at the trilogy of custom View. 1:onMeasure method The main purpose of this method is based on xml android:layout_width="wrap_content" android:layout_height="wrap_content" The wrap_content match_parent attributes determine the size of the measurement itself. Of course, these two values, just parent tells you, n ...

Added by tskweb on Fri, 24 May 2019 02:29:22 +0300

On the pits trampled by sliding conflicts and Solutions

This blog talks a lot about content, because there are many pits in learning customized View. Customized View also customizes ViewGroup, and stepped on sliding conflicts. So it's a simple one-time talk about customization, of course, focusing on conflict resolution. First give Demo address My Blog 1,View 2,ViewGroup 3. Custom View a ...

Added by matthewd on Thu, 23 May 2019 01:52:41 +0300

TouchListener PK OnTouchEvent + Multipoint Touch

Introduction to this section: For example, what this section brings to you is the comparison between TouchListener and OnTouchEvent, as well as multi-touch knowledge points! TouchListener is based on listening, while OnTouchEvent is based on callback! Here are two simple examples to deepen your understanding! 1. TouchListener Based on Monitorin ...

Added by activeradio on Thu, 23 May 2019 01:49:09 +0300

3.2 Usage and Communication of Fragment

Click here to enter: Fast Construction of APP Series Catalog Map from Zero Click here to enter: UI Programming Series Directory Map Click here to enter: Four Component Series Catalog Map Click here to enter: Data Network and Thread Series Directory Map This section routine download address: WillFlowFragment How do we use d ...

Added by benji2010 on Thu, 23 May 2019 00:28:16 +0300

Processing wrap_content, padding problem analysis of custom View

We know that there are many ways to implement custom controls: 1: inherit View; 2: inherit ViewGroup; 3: inherit specific container controls (e.g. Linear Layout); 4: inherit a specific View (e.g. TextView). Today, I'm going to show you the first scenario and list some issues that need to be addressed when dealing with custom controls that inhe ...

Added by debuitls on Thu, 23 May 2019 00:17:23 +0300

Android's Reverse Way: Change the apk Packet Name to Achieve Multi-Open Effect

Preface Recently, somebody almost asked me how to change the package name of the packages I had typed. Understanding my classmates probably know that I like to do experiments by myself, and then share my way with you, this time I chose a reading type app, randomly selected. First look at the effect. How to do that, then share my thoughts wi ...

Added by 88fingers on Wed, 22 May 2019 23:36:49 +0300

Local Storage for Android Webview H5 Interaction

Preface In the development of native app, we will more or less access H5 pages in the project, especially in e-commerce projects, because of frequent UI updates, so we will use H5 pages a lot. Some H5 pages display different pages according to different users and login conditions. This requires us Android app developers to tell H5 developers ...

Added by speckledapple on Wed, 22 May 2019 22:07:45 +0300

Application of mvp in flutter

In the process of Android application development, we often use some so-called architecture methods, such as mvp, mvvm, clean, etc.These methods are recommended because they greatly decouple the functional modules of our code, making it easier for our code to expand and maintain in the middle and later stages of the project. I personally rec ...

Added by masteroleary on Wed, 22 May 2019 20:26:05 +0300

Android custom empty data prompt interface EmptyView

On Fastandrutils Fastandrutils is a set of commonly used tools for android development, including customized view controls. This can reduce copy and paste code, thereby reducing duplicate code, and do not need to go to Google Baidu for a common function, so that the code is more concise, so that development is more efficient. At the same tim ...

Added by eroticheretic on Wed, 22 May 2019 03:33:07 +0300

Definition and usage of cursors in MySql

Create a Cursor First create a data table in MySql: CREATE TABLE IF NOT EXISTS `store` (     `id` int(11) NOT NULL AUTO_INCREMENT,     `name` varchar(20) NOT NULL,     `count` int(11) NOT NULL DEFAULT '1',     PRIMARY KEY (`id`)   ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7;      INSERT INTO `sto ...

Added by powergen on Tue, 21 May 2019 22:49:25 +0300