CoordinatorLayout uses detail: creating a foldable suspension effect

1. Introduction CoordinatorLayout follows the Material style and is included in the support Library, which combines AppbarLayout, CollapsingToolbarLayout, and others to produce a variety of cool folding suspension effects. As Top View Interact with one or more subviews as a container 2.AppBarLayout It is inherited from LinearLayout and the de ...

Posted by Control Pad on Thu, 19 Mar 2020 21:39:34 -0700

Three Uses and Source Interpretation of Spring Import

_Recent reviews of Spring Cloud-related sources have added enable s to each new starter, such as: @EnableDiscoveryClient, which registers applications with Eureka Server and pulls services owned by Eureka Server into a micro-service system.Click on the EnableDiscoveryClient source code and you will find the @import annotation inside.The ...

Posted by thomashw on Thu, 19 Mar 2020 17:55:50 -0700

Spring Learning Road 1

Spring Framework brief introduction The Spring framework was created due to the complexity of software development Purpose: To solve the complexity of enterprise application development Functionality: Replace EJB with basic JavaBean and provide more enterprise application functionality Scope: Any Java application Advantage: Open Source Free F ...

Posted by mitch.craig on Tue, 17 Mar 2020 09:45:17 -0700

spring mvc import resource path problem [the simplest but also the most deadly]

There are two ways to write in the import resource path A classpath, a classpath* So what's the difference between the two? 1.**classpath: * * only find files in your class path; 2. * * callsspath *: * * not only includes class path, but also includes jar file (class path) for searching, * * * classpath *: * * * is very important for multi ...

Posted by superdezign on Tue, 17 Mar 2020 08:25:54 -0700

Check whether the string in the XSLT is empty or empty

How to use XSL Is the check value empty or empty? For example, if the categoryName is empty? What I use when selecting constructs is. For example: <xsl:choose> <xsl:when test="categoryName !=null"> <xsl:value-of select="categoryName " /> </xsl:when> <xsl:otherwise> <xsl:value ...

Posted by khaldryck on Tue, 17 Mar 2020 06:02:16 -0700

Spring -- Spring IOC, annotation based automatic seedling burning

1. Parameter configuration mode of set [List,Set,Map] and configuration file [] applicationContext.xml <!--Set and configuration parameter injection mode --> <bean id="example" class="cn.goktech.entity.Example"> <property name="interest"> <list> <valu ...

Posted by CrimsonSoul on Tue, 17 Mar 2020 03:47:19 -0700

Simple use of viewBinding in RecyclerView

Preface Let's start by saying that my compiler version is as4.0 beta2. gradle:4.0.0-beta02, corresponding to gradle-6.2.2-all.zip. As for the role of viewing, I directly quote the words on the android Developer website: With view binding, you can write code that interacts with views more easily. When ...

Posted by dabnet on Tue, 17 Mar 2020 02:09:22 -0700

Maven Series Part 5: details of private server

Environmental Science maven3.6.1 Development tool idea jdk1.8 Content of this article Introduction to private clothes Installing nexus private server in windows Installing nexus private server in linux Details of various warehouses in nexus private server Conf ...

Posted by gtal3x on Tue, 17 Mar 2020 00:49:09 -0700

MyBatis: developing with annotations

Interface oriented programming You have learned object-oriented programming and interface before, but in real development, we often choose interface oriented programming Root cause: decouple, expand, improve reuse, in layered development, the upper layer doesn't need to care about the specific implem ...

Posted by ammupon on Mon, 16 Mar 2020 22:35:24 -0700

Main configuration and application of spring MVC

SpringMVC The concept of MVC Model1 mode Model 1: the combination of JSP page and JavaBean does not use the java Servlet form to write the front-end and back-end interactions, almost all of which are in the charge of JSP Model2 mode M: The Model model (JavaBean) is responsible for the data l ...

Posted by raydenl on Mon, 16 Mar 2020 22:18:19 -0700