Android - use of data binding RecyclerView
Today, let's talk about the use of DataBinding in the list RecyclerView
List binding
List display is often used in App. Data Binding plays an important role in the list, directly binding data and events to each list item.
RecyclerView
In the past, we used to use ListView, GridView, or some customized views on GitHub to do waterfall flo ...
Posted by tat on Tue, 24 Dec 2019 12:01:30 -0800
Vue + element El table uses sortable to drag and drop table sort to realize row sort and column sort
Sortable.js is a lightweight JS plug-in for drag and drop sorting lists (although it is small in size, it is powerful)
The requirement of the project is that the table in the element can be dragged and sorted
sorttable is used here
Sortable.js is a lightweight JS plug-in for drag and drop sorting lists (although it is small in size, it is po ...
Posted by sandingmachine on Tue, 24 Dec 2019 09:36:14 -0800
Using ggplot 2 package to draw the thermal map of the islands in the South China Sea
This paper mainly refers to the courseware content of Li Ding, a teacher of the people's Congress, and fork s the map file of Li on github
For Mr. Ding's courseware, please refer to https://github.com/lidingruc/2017R/commit/30a14cc9c77b69dfd8252b7aa425afc87566c786
The South China Sea is a vast area. Generally, after the map of ...
Posted by stormszero on Tue, 24 Dec 2019 07:30:03 -0800
Can I specify multiple users for myself in. gitconfig?
At ~ /. gitconfig, I have my personal email address at [user], because this is the address I want to use for the Github repository.
However, I recently started working with GIT. My company's git repo allows me to submit, but when it posts new changesets, it says they come from anonymous users because it doesn't recognize my. gitconfig email ...
Posted by raven_web on Tue, 24 Dec 2019 01:52:29 -0800
Feign source code learning
feign introduction
Feign is a Restful client component of Java. Feign makes it easier to write Java HTTP client. Feign was inspired by Retrofit, JAXRS-2.0 and WebSocket. Feign has nearly 3K stars on github, which is a quite excellent open source component. Although it is inferior to nearly 30K stars of Retrofit, spring cloud integrates feign, w ...
Posted by jfgreco915 on Mon, 23 Dec 2019 02:05:29 -0800
BeetleX's Quick Build Web Multi-room Chat Room
In fact, it is not a difficult technology to build a Web multi-room chat room. With the help of websocket s, it is easy to achieve multi-user real-time online communication interaction. Here we mainly introduce how to make this function more simple and efficient with the support of BeetleX and BeetleXjs.Next, I'll walk you through the implement ...
Posted by Azu on Sat, 21 Dec 2019 22:13:34 -0800
OpenGL learning notes: GLAD and first window
Environmental Science
System: Windows 10 64 bit home Chinese version
IDE: Visual Studio 2017 professional
Reference tutorial: https://learnopengl-cn.github.io/01 Getting started/03 Hello Window/
step
1. Get GLAD:
a. Open the online service;
b. Set Language to C/C + +, Specification to OpenGL, gl option in API to version 3.3 ...
Posted by brob on Sat, 21 Dec 2019 13:35:17 -0800
Various shape effect processing tools for Bitmap
Because many times we need to use some special effects to cut the picture, we write a simple help library. At present, we only do some processing to the shape, and then we will optimize and improve it to add more effects.
1, Various treatment effects
The first picture is the original picture, followed by cutting circle, square, ellipse, arc, r ...
Posted by goocharlton on Fri, 20 Dec 2019 12:55:12 -0800
Light ORM sqlrepoex (6) JOIN
The example uses the latest SqlRepoEx 2.0.2
Available at: https://github.com/AzThinker/SqlRepoEx2.0Demo
Or: https://gitee.com/azthinker/SqlRepoEx2.0Demo
Demo module: GettingStartedNorthwind
1. Create a new console program;
2. Download SqlRepoEx.MsSql.Static through Nuget package management
3. According to the Orders, Customers and Employees t ...
Posted by Misery_Kitty on Fri, 20 Dec 2019 09:49:10 -0800
android custom star rating control can only display solid stars
Not much, above
Recently, the app needs to make a level display. I look at the UI chart and only show the real stars (lit stars). As shown in the figure below
But most of the online examples of star rating are like this
Show the stars of modesty
By customizing View
package com.starsbar;
import android.content.Context;
import a ...
Posted by tarlejh on Fri, 20 Dec 2019 07:55:15 -0800