Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by mattsinclair on Thu, 09 Jul 2020 08:16:04 -0700

NavigationView of Material Design Control

Introduction to Material Design Android Official Controls NavigationView The NavigationView is used for DrawerLayout's second sublayout, the drawer layout Controls provided by google have the same status as inearLayout in DrawerLayout Of course, you can use other layouts (such as FrameLayout+Fragment) as drawer layouts instead of Navigat ...

Posted by wkoneal on Mon, 06 Jul 2020 09:20:39 -0700

FlexboxLayout - Single / multiple

FlexboxLayout is an Android extension launched by Google Reduced layout (stream layout) official project address https://github.com/google/flexbox-layout FlexboxLayout is a control that I use a lot in my development, especially for the item layout with variable width and height instead of Recycleview, which well meets my requirements and is ...

Posted by 88fingers on Tue, 30 Jun 2020 09:44:35 -0700

Several special ways of Spring Bean instantiation

ServiceLoader uses the reverse control in JDK ServiceLoaderFactoryBean AutowireCapableBeanFactory#createBean BeanDefinitionRegistry#registerBeanDefinition RumenzFactory interface and default implementation class DefaultRumenzFactory RumenzFactory.java package com.rumenz; public interface RumenzFactory { //jdk1.8 default implementation ...

Posted by svgmx5 on Tue, 30 Jun 2020 00:16:42 -0700

Wechat cash red packet jump pit version

The official gives the early steps of opening the cash red envelope 1. It is worth noting that the calling IP address (public IP) needs to be configured in wechat payment merchant platform product center cash red packet product settings 2. Integrated business development thinking Official account offici ...

Posted by nevynev on Tue, 30 Jun 2020 00:04:16 -0700

Record website visits

1. Create a table in the database to store the hits 2. Create a listener (MyWebListener) to implement the ServletContextListener interface. When the project is started, the hits are obtained through the dao layer (ContextMapper) and stored in the ServletContext. 3. Increase the number of visits when vi ...

Posted by tzikis on Tue, 30 Jun 2020 00:03:17 -0700

The eighth day of health management project (background login to realize authentication and authorization, graphic report echards)

We have learned how to use the Spring Security framework. In this chapter, we need to apply the Spring Security framework to the background system for permission control. Its essence is authentication and authorization. To carry out authentication and authorization, we need to support the seven tables i ...

Posted by leonglass on Mon, 29 Jun 2020 00:12:28 -0700

Intelligent dialogue APP based on Aispeech -- external TTS engine and voice broadcast, setting speaker, setting speed and other functions

Intelligent dialogue APP based on Aispeech (4) -- external TTS engine and voice broadcast, setting speaker, setting speech speed and other functions 1, Problems and Solutions 2, External TTS engine 2.1 TTS engine 2.2 voice broadcast priority 2.3 stop broadcasting 2.4 setting up TTS engine 2.5 settin ...

Posted by menios on Sun, 28 Jun 2020 21:27:05 -0700

Deploying a hadoop cluster on Centos7

Hadoop's Trample Notes (1) Deploying a hadoop cluster on Centos7 Environmental Science Machine 1(hadoop1-ali) Ali Cloud (CentOS 7.3) 120.26.173.104 Machine 2(hadoop2-hw) Huawei Cloud (CentOS 7.4) 114.116.233.156 Where the first server serves as a namenode and the second serves as a datanode Modify hostname and hostfile Execute on two machines ...

Posted by maxxx on Sun, 28 Jun 2020 17:21:11 -0700

How Dubbo's XML is used and how it integrates with Spring

catalog How Dubbo's XML is used and how it integrates with Spring ServiceClassPostProcessor Implemented BeanDefinitionRegistryPostProcessor class How the bean instance of ServiceClassPostProcessor is injected into the container in advance. The definition of DubboNamespaceHandler, the parsing class ...

Posted by Kower on Sat, 27 Jun 2020 21:27:35 -0700