There are many frameworks for operating SQLite databases in Android, and now ORMLite and GreenDAO are the most common and common ones. ORMLite is a lightweight framework compared with GreenDAO, and learning costs are relatively low. So ORMLite is introduced in this post ...
Posted on Sat, 26 Jan 2019 07:15:14 -0500 by plaggypig
1. Implementing Immersion Status Bar
There are many ways to implement the immersive status bar, Baidu and Google can do it by themselves.
Here the immersive status bar implements the use of third-party open source libraries ImmersionBar The integration method allows you to view official documents directly. Here is just a dem ...
Posted on Sat, 26 Jan 2019 06:51:14 -0500 by tywin
There are two ways to achieve the effect in RecyclerView:
One is to scroll once every few seconds, using item as a unit.
A Slow Rolling for the Whole Flow Form
Achieve infinite scrolling
The way to achieve infinite scrolling here is to set itemCount to Integer.MAX_VALUE in adpater
Note: This is based on BaseQuickAdapter li ...
Posted on Sat, 26 Jan 2019 00:18:15 -0500 by moe
Wrap your ass up in triumph
Recently, the project I was in charge of turned the previous version of userdebug off to user version because it was close to mass production, and increased the privileges of selinux. Everyone was overwhelmed with excitement and joy in preparing for mass production.
Who knows, after the release of ...
Posted on Fri, 25 Jan 2019 23:00:14 -0500 by egroeg41
Case: Order Category and Order Item Category
Questions in Cascading Queries
Introduction to Lazy=true
Lazy=false Introduction: Check all the time there is a problem. In the set lazy = "false" can also be reported error (com.zking.4.entity.Order.orderItems,
could not initialize proxy - no Session) <set lazy ...
Posted on Fri, 25 Jan 2019 21:06:14 -0500 by ben2k8
The last article described the basic use of Expandable ListView
Realization of complex cases under Case 2:
Implementation of Expandable ListView of SQLite and json Data Based on Network
Understand a few concepts first
Biz:(Business Logic Layer)
biz is the abb ...
Posted on Fri, 25 Jan 2019 20:33:14 -0500 by KingWylim
The all operator is used primarily to determine whether all elements satisf ...
Posted on Fri, 25 Jan 2019 19:03:14 -0500 by ryanhowdy
Use of CFNetwork Framework for iOS Development
In iOS application development, CFNetwork framework is not very commonly used. Compared with NSURLSession framework, it is a relatively low-level network framework. The following figure in the official document describes the position of CFNetwork in the whole network system:
Posted on Fri, 25 Jan 2019 17:36:14 -0500 by danlindley
Design Patterns-Six Principles of Object-Oriented
Principle of Single Responsibility
Opening and closing principle
Richter's replacement principle
Dependence Inversion Principle
Interface Isolation Principle
In this paper, the six principles of the above interviewees, do a step-by-step understanding of rec ...
Posted on Fri, 25 Jan 2019 13:09:15 -0500 by 99degrees
There will be many apps in a project. Variable values such as compileSdkVersion and build Tools Version will be configured in different module s. If the compile project in each app can not be unified, it will be very troublesome in future upgrades. So we call these common configuration items shared variables.
1. Define a ...
Posted on Fri, 25 Jan 2019 10:12:13 -0500 by rempires