Android Jetpack Architecture - Paging custom pull-up loading more

Jetpack series Android Jetpack architecture component - Lifecycle usage Android Jetpack architecture component - LiveData usage The use and principle of ViewModel, an architecture component of Android Jetpack Android Jetpack architecture component - Paging introduction and Practice Android Jetpack architecture component - Roo ...

Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200

RxJava2 for andorid jar/library source parsing

Catalog: andorid jar/library source code parsing  RxJava2: Role: Optimize logical processes by providing an architecture that provides a model for observers and subscribers.Suitable for complex and multi-data conversion and long processes. Chestnuts: Define three object classes public class ResultInfo { public int code; public String ...

Posted by qteks200 on Wed, 06 May 2020 00:37:28 +0200

Android Project Actual Series - Based on the Learned Valley Exercise Module

Please be patient to read this module because of its large content and length. Exercise module is divided into two parts [x] Exercise List Interface [x] Exercise details interface 1. Exercise List Interface 1. Exercise Interface (1) Create exercise interface In the res/layout folder, create a new layout file named main_view_exercises. ...

Posted by sheraz on Tue, 05 May 2020 23:18:23 +0200

Android drawing mechanism and processing skills

1 unit conversion Due to the different screen density, the length of the same pixel size and the length displayed on the screen with different density are different. The following is the conversion formula of each density value, In mdpi, 1dp = 1px, In hdpi, 1dp = 1.5px, In xhdpi, 1dp = 2px, In the xxhdpi, 1dp = 3px ...

Posted by nite4000 on Mon, 04 May 2020 23:57:40 +0200

Using jQuery mobiscrol plug-in to select date, select and treeList

Mobiscrol is a very useful plug-in for mobile terminal sliding selection. It can be used to select dates, simple options or some complex tree structure options. Simple sharing. The dependency is also relatively simple, just introduce a mobiscrol-2.13.2.full.min.js file and a mobiscrol-2.13.2.full.min.css file. Download directly mobiscrol ...

Posted by travelbuff on Mon, 04 May 2020 23:24:12 +0200

Android uses WeChat, Alipay and qq wallet H5 to pay.

There was a project before Android using webview to load the contents of the web page, and then adding the original function of APP. This project has the integration of WeChat, Alipay, qq wallet and other H5 payment methods. Recently, the content of the payment version has been upgraded on the webpage side, resulting in ...

Posted by fotofx on Mon, 04 May 2020 21:35:36 +0200

Android exception capture

Android exception capture and write text Application scenario The developed software application inevitably has various problems in the actual scene, but the developers can't debug in real time on the spot, and the remote can't present the scene, so that It can't solve this problem. The best solution is to integrate Tencent's mobile anal ...

Posted by .Darkman on Mon, 04 May 2020 19:04:05 +0200

Android integrated Baidu character recognition 1.4.0

Android integrated Baidu character recognition 1.4.0 Baidu AI open platform has opened the service of character recognition, which can realize the recognition requirements of some general characters, network pictures and characters, various cards (ID card, bank card, driver's license, driving license, license plate bus ...

Posted by Drewser33 on Mon, 04 May 2020 13:43:54 +0200

Android search box: properties and usage of SearchView

About SearchView SearchView is Android's native search box control, which provides a user interface for user search queries.   By default, SearchView displays a search icon. Click icon to expand the search box. If you want the search box to expand by default, you can use seticonfifiedbydefault (false); to achieve this. Search ...

Posted by ThatGuyBob on Mon, 04 May 2020 12:11:07 +0200

Android mapbox integration problems

First step dependence. build.gradle under project repositories { jcenter() mavenCentral() } build.gradle under moudle compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.0.2'){ transitive=true } Error after synchronization: WTF? What the hell is this. Search online and add @ aar after the version numb ...

Posted by pbjpb on Mon, 04 May 2020 11:00:57 +0200