Spring Boot [Component Learning-MyBatis]
Introduction:
In the previous article, we introduced some common methods of spring-data-jpa. In this article, we introduced the integration of mybatis and Spring Boot, and some common methods.
Integrate:
There are two ways to integrate Spring applications, one is the integration of Spring Boot applications, and the other is the integration of S ...
Posted by Jimbit on Tue, 16 Jul 2019 02:49:39 +0200
Realization of Classification and Sorting Control of Imitating Netease Tab
1. Introduction of XML Layout
<com.net168.lib.SortTabLayout
android:id="@+id/layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
2. Setting up data source data, that is, the corresponding text data for each item
//Construct data sources, temporarily supporting String only
List<Strin ...
Posted by rubio on Tue, 16 Jul 2019 00:18:34 +0200
Android Design Patterns (1) Continuation: Layout Inflater
PhoneLayoutInflater
package android.view;
public abstract class LayoutInflater {
......
public static LayoutInflater from(Context context) {
LayoutInflater LayoutInflater =
(LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
if (LayoutInflater == null) {
throw new Asserti ...
Posted by nezbo on Mon, 15 Jul 2019 23:38:23 +0200
Use of Android Adpater s
Reprinted from: https://my.oschina.net/u/658933/blog/372151
Source code http://files.git.oschina.net/group1/M00/00/56/cHwGbFTLSfOAEAIjAAF86dDXjmU684.rar?Token=726426a40eb7a2151c50aab086fcce&ts=1422608917&filename=AndroidTest.rar?
Use of Android Various Adapter s
It's also a ListView that can be used differently
Adapter lets it show, ...
Posted by Onloac on Mon, 15 Jul 2019 22:16:55 +0200
Implementation of Android Immersive Status Bar and Transparency of Status Bar
Original: Click to visit
Now more and more software has begun to use the immersion status bar. Here are two ways to use the immersion status bar.
Be careful! Immersive status bar only supports Android Version 4.4 and above
Status Bar: Gradient color on 4.4, transparent on 5.0. This simulator demonstrates 4.4.
Effect map:
Be car ...
Posted by areric on Mon, 15 Jul 2019 22:08:50 +0200
Four Ways to Parse XML Files in Java (1) - - DOM Parsing
First, what is XML?
XML:Extensible Markup Language Extensible Markup Language
XML can separate data from HTML format.
For example, to display dynamic data in HTML, it takes time to edit various tag elements in HTML whenever the data changes.
Through the XML file, the data can be stored in a separate XML file, which can ensure that when mod ...
Posted by kidgeek_dfw on Mon, 15 Jul 2019 01:11:24 +0200
Android Notification Bar Immersion/Transparency Complete Solution
For reprinting, please indicate the source: http://www.cnblogs.com/cnwutianhao/p/6640649.html
Reference: https://github.com/ljgsonx/adaptiveStatusBar
Google added a translucent interface style to Android 4.4 and introduced the concept of Material Design in Android 5.0.
The addition of these styles makes the original rigid, ugly, and App co ...
Posted by ronjon on Sun, 14 Jul 2019 21:20:32 +0200
Solr 6.5 configures Chinese word segmentation IK Analyzer and Pinyin analyr (2)
Previously, Installation and Configuration of Solr 6.5 on Centos6 (I) Installation of Solr 6.5 is introduced in this paper. This article focuses on creating Solr Core and configuring Chinese IKAnalyr word segmentation and Pinyin retrieval.
First, create Core:
1. First, in solrhome (see the path and configuration of solrhome) Installation and ...
Posted by rookie on Sat, 13 Jul 2019 21:03:06 +0200
Android Tablet Compatibility
1. Layout compatibility
Create a new layout-large folder (7 inches) or a layout-xlarge folder (more than 7 inches) under the res folder. The layout file is the same as the layout folder. For example, activity_main.xml.
Suppose that the layout of pad in layout-large s and layout-xlarge s is as follows:
<?xml version="1.0" encoding="utf- ...
Posted by markc1 on Fri, 12 Jul 2019 02:46:13 +0200
Spring-based development-custom tags and their parsing
1. XML Schema
To customize tags, the first step is to write your own XML Schema. XML Schema's personal feelings are more complex, and online tutorials are relatively simple, so you can refer to spring-beans.xsd to draw on the gourd. Here is a brief introduction according to my own understanding.
1.1 The simplest label
A simplest label, in the f ...
Posted by Blackwind on Thu, 11 Jul 2019 22:34:29 +0200