Android Develops Learning WeChat Public Number Interface

Continue with the card design from the previous blog, and we'll continue from WeChat To find some clues, let's start by looking at an interface that is the default public number in WeChat, mainly to publish the latest developments on Tencent News. As we can see, it uses a card layout similar to the one we used in the previous article.So, let' ...

Added by delfa on Fri, 12 Jul 2019 20:43:31 +0300

Summary and Practice of Mysql Optimistic Lock

Optimistic Lock Introduction: Optimistic Locking is a relative pessimistic lock. Optimistic Locking assumes that data will not conflict in general. Therefore, when data is submitted and updated, it will formally detect the conflict of data. If conflict is found, it will let the user return the wrong information and let the user decide. What to ...

Added by motofzr1000 on Fri, 12 Jul 2019 20:39:07 +0300

Simple Spring Framework Construction

Background Just knowing spring, it gives me the feeling that the encapsulated tool class will make our development easier, more energy will be put on business logic, of course, some excellent ideas of spring, what control inversion, face-to-face and so on. I don't know exactly how it works. Later, slowly understand.. try to build a spring fram ...

Added by charlesg on Fri, 12 Jul 2019 01:27:02 +0300

Account login case (for all kinds of username password login)

First, show the results of the project operation: The initial login interface: (1) Choose to remember the password: Click login to jump to Activity 02 page: (2) When logged in again: Cancel remembering passwords: Click login and jump to Activity 02 page. When you open the project again, it will return to the state of empty initial ac ...

Added by madrazel on Fri, 12 Jul 2019 00:52:48 +0300

Android homemade SwitchBar (with resources)

After several days of tossing and turning, this App has basically been completed. Part of it is a custom SwitchBar. I have seen many other people's solutions online. They are all based on the system's own SwitchBar. They just modify some background image resources or something. The effect is not very ideal. The following is my solution. First p ...

Added by jtjohnson260 on Thu, 11 Jul 2019 23:56:11 +0300

Design of Application Context

Basically, each application will have its own Application, which inherits from the Application class of the system, and then encapsulates some common operations in its own Application class. In fact, this is not a recommended practice for Google, because we just use Application as a general tool class, and in fact use a simple singleton class c ...

Added by sungpeng on Thu, 11 Jul 2019 21:54:53 +0300

Analysis of MyBatis Dynamic SQL Bottom Principle

When we use mybatis, we write sql statements in xml. For example, this dynamic sql code: <update id="update" parameterType="org.format.dynamicproxy.mybatis.bean.User"> UPDATE users <trim prefix="SET" prefixOverrides=","> <if test="name != null and name != ''"> name = #{name} </if&gt ...

Added by studgate on Thu, 11 Jul 2019 02:29:47 +0300

Android Custom View - Custom View Control

Android We are provided with a large number of View controls, but this is still far from meeting our requirements. Sometimes the form of control needed for development does not exist in the control provided by Android, which requires us to define one ourselves. So how to customize controls?   To learn about custom controls, you first ne ...

Added by maxcell on Wed, 10 Jul 2019 03:58:36 +0300

ListView Paging Load Data in Android

Original address: http://blog.csdn.net/liuhe688/article/details/6852523 be familiar with Android As you all know, no matter the micro-blog client or the news client, it can not be separated from the list component. It can be said that the list component is the most important component in Android data presentation. Today we will talk abou ...

Added by HAN! on Wed, 10 Jul 2019 03:09:04 +0300

How to Use Spring IO and Spring Boot

Spring IO Platform Spring IO Platform solves the problem of version compatibility between Spring Framework and the introduction of third-party libraries, which configures most commonly used java class libraries. To use Spring IO Platform, simply add: &lt;dependencyManagement&gt; &lt;dependencies&gt; &lt;dependenc ...

Added by google_man2000 on Wed, 10 Jul 2019 01:15:56 +0300