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

IOS Airplay -- Implementation of Airtunes Music Play on Android Box and Mobile Phone (Part 2)

In the last article, we let iOS devices discover Android devices via AirTunes link. In this article, we will complete iOS devices connected to Android devices via AirTunes. 3. Implementing iOS devices connected to Android devices via AirTunes 1. Use netty to construct a server and set the basic configuration. final ServerBootstrap airTunesBoo ...

Posted by smordue on Sun, 16 Jun 2019 15:20:23 -0700

Android EditText input capitalizes each word initials

Preface The official explanation is that setting an attribute on EditText: android:inputType="textCapWords" capitalizes each word, but it turns out that there is no egg to use. I don't know what's going on. (If you know why, please let me know!) Now let's talk about the plan. programme Find an answer on Stakoverflow and use Text ...

Posted by Hiccup on Sun, 16 Jun 2019 13:38:27 -0700

Floating Action Button attributes, usage, and parsing and resolving the problem of hiding and not displaying more than sdk25

Floating Action Button, hereinafter referred to as fab, today we will talk about some of its attributes and usage, and resolve the problem that Floating Action Button above sdk25 only hides and does not show. This development environment is based on sdk25. Introduce design packages before using them compile 'com.android.support:design:25. ...

Posted by bigfunkychief on Sun, 16 Jun 2019 12:19:37 -0700

Android MVP schema base class structure

Believed that MVP mode has been used extensively in Android applications, let me introduce a base class structure for MVP mode. The whole structure takes Fragment as its core. First, it defines that BaseFragment inherits from Fragment. It implements the launch method which takes the Fragment to be loaded as a parameter, and actually load ...

Posted by mightymaster on Sun, 16 Jun 2019 10:36:42 -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

Basic use of Android Broadcast

1. What is broadcastingBroadcast mechanism is used for process/thread communication. The main feature of broadcasting is that the sender does not care whether the recipient receives data or how the recipient processes the data. It is only responsible for saying, regardless of whether you listen or not. Broadcast can come from systems or other a ...

Posted by liquidd on Sun, 16 Jun 2019 09:11:45 -0700

Play with java reflex

original text classloader What is a Class Loader Responsibilities of Class Loaders Composition of Class Loader reflex What is Reflection How to Use Reflection Application of Reflection in Android What is a Class LoaderWhen a Java program wants to use a class, if the class has not been loaded into memory, the system will initialize the cl ...

Posted by eliezer on Sat, 15 Jun 2019 17:19:17 -0700

Analysis of Android Custom view

Why customize view? Add new functionality to the view(textview,imageview, etc.) provided by android Handling unique user interactions When android does not provide us with enough views to meet our needs, such as waterfall flow layout, sticky animation and so on, we need to define views ourselves. With a good command of custom controls, you c ...

Posted by KGodwin on Sat, 15 Jun 2019 13:11:17 -0700