Glide decryption

Glide is now the most widely used image loading framework, and has always wanted to work on it. Every time, it is deeply involved in it... This time, I will make a thorough analysis of it and try to cover the whole process and its details. This article's Glide parsing is based on the latest version 4.1 ...

Posted by opalelement on Mon, 17 Feb 2020 02:08:51 -0800

Simple application of thmeleaf in springboot

Simple application of thmeleaf in springboot The priority of static directory and the type of storage resources Shortcut key of query class: ctrl+shift+r Search ResourceProperties private static final String[] CLASSPATH_RESOURCE_LOCATIONS = new String[]{ "classpath:/META-INF/resources/", "c ...

Posted by elhelaly1999 on Thu, 13 Feb 2020 22:41:24 -0800

Play Android project development - Homepage 2 (use ViewPager to customize banner carousel chart)

In the last section Play Android project development - homepage (ViewPager+BottomNavigationBar to implement navigation bar) Now we start to fill in the function from the homepage, that is, mainframe. 1. MVP framework construction of Fragment Before that, we used Activity as the View layer. In this proje ...

Posted by Piranha on Wed, 12 Feb 2020 19:05:31 -0800

Mu Ke of "ARM microcontroller and embedded system" -- experiment with a little LED light

Affected by the current epidemic situation, we can only work at home, and finally have time to play the BLAZAR - β learning board. Now, the experiment I is organized as follows for your reference I. conditions required for the experiment 1) BLAZAR - β learning board 2) Jlink debugger 3) ...

Posted by Jim02 on Tue, 11 Feb 2020 21:49:24 -0800

What is Redux, why and how to use Redux

1. What is Redux Official explanation: Redux is a predictable state container for JavaScript apps. This means that Redux is a predictable state container for js applications 2. Why use Redux The following illustration shows how parent-child components communicate when Redux is not used and when Redux is used In the absence of Redux, if co ...

Posted by Zssz on Fri, 07 Feb 2020 08:15:44 -0800

Android - mixed use of ViewPager and Fragment

ViewPager is often used to connect fragments. It is very convenient to manage the life cycle of each page. Using ViewPager to manage fragments is a standard adapter implementation. The most commonly used implementations are fragmentpager adapter and fragmentstatepager adapter. By adding a ViewPager to t ...

Posted by jcrensha627 on Fri, 07 Feb 2020 07:01:16 -0800

Principle of Bidirectional Binding of vue Data

1. Implementation principle of vue Vue.js uses the attribute feature functionality provided by ES5, combined with the publish-subscribe mode, to publish messages to subscribers and trigger corresponding listening callbacks when data changes through Object.defineOrototype() to define set and get attribut ...

Posted by timc37 on Wed, 05 Feb 2020 19:00:06 -0800

OpenGL with QtWidgets: Light color

(This is a study note for LearnOpenGL, translated in Chinese for the tutorial) https://learnopengl-cn.github.io/) 0. Preface Previously, I learned the introductory chapter of LearnOpenGL, and this article started learning about the colors of light (Lighting). 1. How to implement Color can be digi ...

Posted by luke101 on Tue, 04 Feb 2020 16:36:27 -0800

Unity uses Shader to make glass windows in the rain learning notes

Unity uses Shader to make glass windows in the rain learning notes Blur background, simulate fog Make glass transparent Handwriting Fuzzy Algorithm https://www.youtube.com/watch?v=EBrAdahFtuo Watch the notes after the oil pipe god's tutorial. Blur background, simulate fog In the textured Inspec ...

Posted by crazy_carl on Mon, 03 Feb 2020 19:30:26 -0800

Js-w3school (2020.2.3) [js array]

1.JavaScript arrays are used to store multiple values in a single variable. 2. Create array: Array text method: var cars = ["Saab", "Volvo", "BMW"]; Or use the keyword new var cars = new Array("Saab", "Volvo", "BMW"); 3. We refer to an array element by referring to index number (subscript) 4. Through ...

Posted by gregor63 on Mon, 03 Feb 2020 03:30:13 -0800