Simple use of greendao 1

Simple Use of GreenDao GreenDao is an open source SQLite-based database ORM (Object Relational Mapping). When we use SQLite to cache and read data, we need to write CRUD statements by ourselves. We also need to convert the read data into java objects, or convert java objects into records stored in the database. This is not easy for android de ...

Posted by Fergusfer on Sat, 08 Jun 2019 12:04:37 -0700

Android Compile-Time Annotations Generate Code

Android Compile-Time Annotations Generate Code *This project is for learning purposes only and ButterKnife is recommended as part of the project* 1 Introduction _In the current stage of Android development, annotations are becoming more and more popular, such as ButterKnife, Retrofit, Dragger, EventBus, and so on.Depending on the processi ...

Posted by ElizaLeahy on Fri, 07 Jun 2019 11:11:52 -0700

Android Component Development Project Practice (1) - Module Configuration

For reprinting, please specify the source: drawthin's brief book: http://www.jianshu.com/u/70318c7e4b5f _has been busy, only recently has time to write out the pits encountered by component technology in the past actual project development. After all, there are some pits, others have traveled, we do not need to go ahead and die.    Compo ...

Posted by Hitman2oo2 on Wed, 05 Jun 2019 18:05:39 -0700

Getting started with Android modularization:)

Due to the development needs, there may be more and more projects and more repetitive modules in the future. We do not want to repeat development every time, so we have recently started the transformation of modular development. Here's an overview of the process: First, create the project in the original mode, which is nothing to say, and t ...

Posted by downfall on Mon, 03 Jun 2019 21:34:27 -0700

RxJava Tour (2): Getting started with RxJava (1)

0. Preface This is probably the most serious series of articles I have delayed since the first one Journey to RxJava (1): Fundamentals of RxJava Thought Almost a year apart from this one, I was ashamed to think of the series, and even the impulse was almost deleted several times.The thing is, I immediately put myself into the company's new proj ...

Posted by lorenzo-s on Mon, 03 Jun 2019 19:32:11 -0700

Real Malpractice, Real Reality Face Programming AOP for Android

concept The idea of programming in Java is OOP(Object-Oriented Progreming) object-oriented programming, which divides problems or functionality into modules, where each module interacts through a designed interface, resulting in a single principle of code responsibility, but sometimes we have many different types of modules that need the sam ...

Posted by cutups on Sat, 01 Jun 2019 10:16:30 -0700

Android Framework Building and Sharing

Preface: I haven't written an article for a long time. It's almost 8 months since I last wrote an article. I deeply feel how lazy I am. I returned to Guangzhou from Shenzhen in early August to work, join a new team and learn a new way. Record, summarize and share here. 1. Component development Component development is not a new term, but what i ...

Posted by moreshion on Sun, 26 May 2019 14:23:54 -0700

Convenient Banner: A General Advertising Board Control

First of all, let me declare that this is a tripartite control. I just want to introduce its usage here. Of course, you might say it's not a rotation chart. It's also necessary to use a third party. It's really a vegetable bee. Yes, I am a vegetable bee. But why do we have to make wheels by ourselves? There are many unavoidable prob ...

Posted by thom2002 on Sat, 25 May 2019 11:38:46 -0700

Automatically scan implementation classes of java interfaces and generate registry

Preface Recently, the framework of android component library was set up in our company. The general idea is to provide a base library. Each component (the implementation class of IComponent interface) is registered in the component management class (ComponentManager class). When components are in the same app, they can communicate through Co ...

Posted by AbiusX on Wed, 22 May 2019 09:16:47 -0700

jni implementation in Android Studio (2)

When using a third-party jni library or not intending to open source, method one does not apply.This implements a method of separating jni dynamic libraries from application engineering. Once you open Android Studio, the menu Tools -> Android -> SDK Manager, select Install ndk in the image below, skip this step if it is already install ...

Posted by phppssh on Tue, 21 May 2019 10:22:16 -0700