GreenDao Lightweight Object Relational Mapping Framework, Permanent Goodbye to sqlite
Android Database Framework - Green Dao Lightweight Object Relational Mapping Framework, Permanent Goodbye to sqlite
Not long ago, I wrote a blog post on ORMLite framework.
Android Database Framework: ORMLite Lightweight Object Relational Mapping (ORM)Java Package
But for me personally, I may be more inclined to use Green Dao, so toda ...
Posted by Pie on Sun, 30 Jun 2019 02:42:00 +0200
AIDL basically uses 3 - in out of inout
In AIDL, incoming parameters from client and server can be set to flow direction. Only parameters do not contain return values.
1. in: The client can pass in parameters to the service (default method)
2. out: The server modifying the client's incoming parameter object will affect the client's incoming instance
3. inout: The serv ...
Posted by mfouts on Sun, 30 Jun 2019 01:11:53 +0200
Start developing Android with Kotlin
The first is related resources.
AndroidStudio 3.0 canary 1 Official Download Address
Click without ladder Baidu Cloud Download Address
Google provides demo clicks on new Android O features and Kotlin Kotlin Demo
Android Studio 3.0 already fully supports Kotlin, so now you can easily build a new Kotlin-based Android project or add Kotlin ...
Posted by Shroder on Sun, 30 Jun 2019 00:43:13 +0200
Chapter 4 ListView Use Skills - The rest
4.1.8 Processing Empty ListView
ListView is used to display list data, but when there is no data in the list, ListView will not display any data or prompts. According to the need to improve the user experience, there should be no data prompts here. Fortunately, ListView provides a method, setEmptyView(), through which we can set a default pro ...
Posted by adamlacombe on Sat, 29 Jun 2019 23:21:53 +0200
23 Design Patterns--Strategic Patterns
Definition of a policy pattern:
A policy pattern defines a series of algorithms and encapsulates each one so that they can be substituted with each other. A policy pattern makes an algorithm independent of the clients that use it. Scenarios for using the policy pattern:
Multiple ways of dealing with the same type of problem, only when speci ...
Posted by azukah on Sat, 29 Jun 2019 18:22:24 +0200
Customize QQ-like Main Interface Tab
Customize QQ Home Interface Tab
I took time to learn the blog of big sperm and downloaded it by the way, but it's really nauseous that CSDN does not have the function of one-click reload, so I'm bored!!!Of course, you can also go to his Xiaoo to learn Xiaoo. Click to jump to the original blog post
QQ Android version effect pasted first
...
Posted by jzhang1013 on Sat, 29 Jun 2019 18:20:25 +0200
Implementation of Android Simple Custom view
The use of customized view is very common in android. Here, we introduce a simple customized view in the container of listview.
This is a functional presentation.
First, you need to create an xml file in the layout folder to determine the composition of each small item, that is, listitem.xml
Then, we define a list view to display our ...
Posted by simonmlewis on Sat, 29 Jun 2019 01:08:14 +0200
Android EditText responds to click events such as drawable right
Preface
In the input box EditText, we often add icons such as deleting X, drop-down arrows to get better user experience and needs. If on the right side, we often set the drawableRight attribute to achieve, then how do these icons respond to click events? Here's a brief record!
Method
First of all, we need to inherit AppCompat EditText an ...
Posted by JH5 on Sat, 29 Jun 2019 00:53:27 +0200
Android Custom EditText Cursor and Underline Colors
Recently, when I was writing some little Demo review basics, when I used EditText, I suddenly found that I hardly noticed the color of its cursor and underline before, so I spent a lot of time and read many blogs. Now I will summarize and share the harvest.
1. First impression: native EditText
We need to modify the native EditText, first o ...
Posted by jmabbate on Sat, 29 Jun 2019 00:39:43 +0200
Handler Memory Leakage Analysis and Solution
I. Introduction
First, browse the handler code below:
public class SampleActivity extends Activity {
private final Handler mLeakyHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
// ...
}
}
}
This is a very common piece of code when using handler. However, it can cause serious memory l ...
Posted by loveitandhateit on Fri, 28 Jun 2019 23:34:45 +0200