[Record] Wechat applet to drag and drop nine palace pictures
Recently, there was a need to achieve drag-and-drop sorting of pictures. It would have just touched the Wechat applet, tampered with it for a long time, and checked a lot of information, but it was still a lot of confusion, and finally achieved. So ...
Added by nthomthom on Sun, 15 Sep 2019 12:35:07 +0300
spring Common Mode------------- Adapter Mode
Original Link: https://www.jianshu.com/p/43bfb4516dd8
1. Introduction to adapter mode
Adapter mode: Converts a class's trans-interface to another interface that the client wants. The adapter mode enables which classes that were previous ...
Added by cdhogan on Sun, 15 Sep 2019 05:05:15 +0300
Android - ----- The Use of LiveDataBus
LiveData is a new technology presented at the 17-year Google IO conference. Compared with the framework EventBus and RxBus of communication bus type, it is simpler, simpler and more decoupled.
LiveEventBus is an Android message bus based on LiveData, with life cycle awareness, Sticky support, AndroidX support, cross-process support, cross-APP ...
Added by lional on Sat, 14 Sep 2019 17:51:58 +0300
Joseph Problem of Data Structure and Algorithms
Introduction to Joseph:
It is said that Josephus, a famous Jewish historian, had the following story: 39 Jews hid in a cave with Josephus and his friends after the Roman occupation of Chotapat. 39 Jews decided to die rather than be caught by the enemy, so they decided to commit suicide. 41 people lined up in a circle and were opened by the firs ...
Added by quicknb on Wed, 11 Sep 2019 10:36:47 +0300
Utility class function, develop Beirshuang
Business development often deals with data. In order to improve development efficiency and save development cycle, the following tool classes are what you say you need.
1. Time Formatting
/**
* @params time time stamp
* @params cFormat Format type {y}-{m}-{d} {h}:{i}:{s}
* Where y | m | d | h | m | s | a denotes year | month | day | time | m ...
Added by Bojan86 on Wed, 11 Sep 2019 10:16:18 +0300
Android Screen Adaptation (Modifying System Font Size, Display Size, Resolution Related Adaptation)
Android development will encounter a variety of models, so it is necessary to adapt to a variety of models. Common adaptions are not described in detail in this category. You can refer to the series of articles here. Android Universal Screen Adap ...
Added by congos on Tue, 10 Sep 2019 09:23:38 +0300
How can Swagger2 be used to quickly build API documents in SpringBoot?
Simple use of Swagger2
1. Dependencies needed to import Swagger2
<!--Add to Swagger rely on -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.8.0</version>
</dependency>
<!--Add to Swagger-UI rely on -->
<dependency&g ...
Added by Whetto on Sun, 08 Sep 2019 07:53:14 +0300
mysql database - Practice of sql statement
Summary of sql statements
Exercise 1:
//Create a Category Table:
create table category(
cid int primary key auto_increment,
cname varchar(10),
cdesc varchar(31)
);
insert into category values(null,'Mobile Digital','Electronic product'),
(null,'Shoe ...
Added by vijay17877 on Sat, 07 Sep 2019 11:35:05 +0300
Reaction hooks+redux+immutable.js Create Netease Cloud Music Beautiful webApp
Introduction of Technology Stack
Front end part:
react v16.8 family bucket (react,react-router): MVVM framework for building user interface
redux: Famous JavaScript State Management Container
redux-thunk: redux middleware for handling asynchronous logic
immutable: Facebook's three-year-old library for persistent data structure processing (it ...
Added by ctcp on Fri, 06 Sep 2019 18:24:36 +0300
FNScanner 2-D Code Interface openView Custom Scanning Demo
This article is from APICloud Official Forum
FNScanner module is a two-dimensional code/bar code scanner, which is an optimized upgrade of scanner module. On the iOS platform, Zbar and the barcode/two-dimensional code analysis library are integrated in the bottom of this module. Because the relevant interface of two-dimensional code/barcode is ...
Added by imperium2335 on Thu, 05 Sep 2019 11:23:02 +0300