The Way to Advance Android - Understanding and Use of EventBus

The following is purely a product of personal understanding. I hope you will accept what is right and ignore what is wrong. EventBus began to emerge in about 2015, but it began to be widely used in 2016, and its internal annotation form was adopted. In the development aspect, it reduced the precipitation of Android code and made the code writ ...

Added by eosinophil on Sun, 23 Jun 2019 22:13:24 +0300

When Toast meets Colour: Crouton Learning Notes from Android Third Party Library

Toast is not unfamiliar to everyone. It is a translucent text box with prompt information that often pops up on the interface. It will fade away after a short time. Like Toast, Crouton is a third-party library written by foreigners. Like Toast, only one Crouton can appear in an interface at a time. But the animation effect is different from th ...

Added by jmgarde on Sun, 23 Jun 2019 01:38:55 +0300

Two Ways to Realize Android Side-Slide Menu

Two Realizations of Side Slide Menu Drawer Layout is more flexible. Using Drawer Layout + Navigation View, this is Google's standardization of Material Design. Using Drawer Layout to realize sideslip First, we need a layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/re ...

Added by indian98476 on Sat, 22 Jun 2019 23:41:56 +0300

Android Development Notes (148) Custom Input Soft Keyboard

Text input on mobile phones is through the system's own soft keyboard, which can be Android's own, or a third-party soft keyboard such as Sogou input method. In most cases, the system's own soft keyboard has been enough, but there are always a few cases, the system's soft keyboard can not meet the requirements of developers, such as the followi ...

Added by gwolgamott on Sat, 22 Jun 2019 22:15:16 +0300

Three xml-based instantiation methods of beans in Spring

Three xml-based instantiation methods of beans in Spring 1. JavaBean is a reusable component written in JAVA language. JavaBeans expose member attributes in internal domains by providing common methods that conform to consistent design patterns. Other Java classes can discover and manipulate these JavaBean attributes through their own mechanis ...

Added by kerching on Sat, 22 Jun 2019 21:55:39 +0300

Configure how the database connection pool uses JNDI

1. JNDI: JNDI is ( Java Naming and Directory Inteface)Java Name directory interface. The role of JNDI is to bring resources into the server.You can think of JNDI as a repository.Put Java objects into JNDI. 2. Origin of data sources: In java development, use JDBC operations data base Several steps: 1. Use Class.forName (full pat ...

Added by fredriksk on Sat, 22 Jun 2019 20:18:12 +0300

Implementation of ScrollView Rolling Animation Summary (Thunderstorm) with Android's Custom Animation Framework

What is a framework? It must be for others. Since we want to use it for others, we need to consider what kind of framework others will use, not be scolded, and will always use. To achieve the above, our framework must be powerful, able to solve the pain points of each of us in the development process, stable, will not have a negative impact on ...

Added by gotDNS on Sat, 22 Jun 2019 02:25:31 +0300

Wechat Widget Widget Program Actual Chapter - Drop-Down Refresh and Load More

Hello, everyone, look at this title is not a bit strange, you look forward to the micro-program actual combat chapters - e-commerce (3) did not appear, I think so, because there are many content in e-commerce, how I just named as one or two or three, it is not convenient for you to see the content of each article, so I changed the way of namin ...

Added by [n00b] on Sat, 22 Jun 2019 01:32:56 +0300

Xml parsing - Xml PullParser parsing example analysis

Xml parsing - Xml PullParser parsing example analysis XmlPullParser is an event-driven approach to parsing XML files. Because Android system has integrated this part, and the parsing part of XML file in Android framework is basically processed in this way, it is necessary for us to learn and understand the parsing process of XmlPull Parser a ...

Added by Fredix on Sat, 22 Jun 2019 00:50:17 +0300

Configure Log4j (very detailed)

[From http://www.blogjava.net/zJun/archive/2006/06/28/55511.html] Log4J's Configuration File is used to set the level, register and layout of the recorder. It can receive key=value format settings or xml format settings. By configuring, you can create the running environment of Log4J. configuration file The basic format of Log4J configurat ...

Added by drayarms on Fri, 21 Jun 2019 23:40:35 +0300