Kotlin Learn Notes (1) Basic Grammar

For Kotlin installation, Android studio 3.0 and above comes with it, others can be installed by searching for the plug-in Kotlin.Here's the syntax for Kotlin. Here are my learning notes. Any inappropriate entry is welcome to make corrections. Thank you ^^ 1. Kotlin Android Extension The Kotlin plug-in comes with an Android extension, so ...

Posted by Lee on Mon, 24 Jun 2019 09:46:41 -0700

Full Source Resolution for Android Picture Loading Framework Glide4.0 (1)

Write Before Last post was written on Picasso Basic Usage and Source Full Resolution Picasso's source code reads smoothly, and then comes to the Glide framework, which is also recommended for loading pictures on the Internet. Just as my current writing goal is to analyze some of the popular framework sources, it's also a good idea to analyze Gl ...

Posted by slashpine on Sat, 22 Jun 2019 11:09:33 -0700

Using Gradle to Create Java Projects under Windows

Create a project First, you need to create a Java project with the following directory structure: / src/main/java/hello. You can create several Java classes under the Hello directory. Here, HelloWorld.java and Greeter.java are created for convenience. The code is as follows: src/main/java/hello/HelloWorld.java package hello; public class ...

Posted by jax_15 on Fri, 21 Jun 2019 16:06:58 -0700

Android Hot Fix Tinker(1) Application Renovation

Based on Tinker V1.7.5 Android Hot Fix Tinker(1) Application Renovation Android Hot Fix Tinker(2) Patch Loading Process Android Hot Fix Tinker(3) Dex Patch Loading Android Hot Fix Tinker (IV) Resource Patch Loading Android Hot Fix Tinker (V) SO Patch Loading Android Hot Fix Tinker(6) Gradle Plugin Implementation Android Thermal Repair Schem ...

Posted by crusty76 on Fri, 21 Jun 2019 11:21:38 -0700

Android Development, Docking Background Server, Getting Started with JSON Resolution

First of all, the tool we're using here is Google encapsulated Gson. This post was written for gson 2.7 and the following dependencies need to be added to Gradle.build when calling compile 'com.google.code.gson:gson:2.7' Here are some concepts explained in this json string { "status": [], "message": "logout successfully", "d ...

Posted by sarakmo on Wed, 19 Jun 2019 09:12:01 -0700

First Recycler View

1. What is RecyclerView? According to the official instructions of Google: A flexible view for providing a limited window into a large data set. It can display flexible views of large data sets in limited windows. So we can understand that an appropriate use scenario for RecyclerView is that due to size constraints, the user's devi ...

Posted by kingsol on Mon, 17 Jun 2019 14:15:50 -0700

ReactNative uses CodePush to implement hot updates

One of the advantages of ReactNative is that it can be hot updated. There are many application scenarios requiring hot update, such as: The audit time of major application markets is too long Some heavy business logic pages that often need to be updated A relatively large App, which may be responsible for each piece by a department, cannot be ...

Posted by dirtyfrenchman on Sun, 16 Jun 2019 16:50:43 -0700

Use of EventBus 3.0 on Android

csdn blog: http://blog.csdn.net/hjjdehao I. Basic introduction of EventBus 3.0: Previously, Android components used to communicate with each other using Intent or Broadcast. EventBus greatly simplifies the communication between components, components and background threads in the application. ThreadMode: This is an enumeration with four values ...

Posted by grace5 on Sun, 16 Jun 2019 16:45:43 -0700

Use Kotlin's copy of the book's personal home page with only one control

The interface is ugly, but basically functional.To learn the recently popular kotlin language, try writing a demo. Refer to the previous article Palm-like League of Heroes Effect. Design sketch 1. Prepare before you start Import the kotlin development environment:The Android Studio 3.0 version is already integrated by default.Checking inclu ...

Posted by eva21 on Sun, 16 Jun 2019 09:30:54 -0700

Another simple implementation of Android RecycleView Item animation expansion details

Not much to say, let's see the effect first. Generally, many people on the Internet, RecycleView Item expand the effect of the idea is through the add and remove of item to achieve, but what problems will the effect of the graph appear? Each item has rounded corners Each item has spacing If it is also achieved through add and remove, how t ...

Posted by Snewzzer on Mon, 10 Jun 2019 13:43:05 -0700