Understanding Go language object-oriented programming: interface and polymorphism
Hi, Hello, this is Mingo.
During my time of learning Golang, I wrote detailed study notes on my personal WeChat official account "Go programming time". For Go language, I am also a beginner, so writing things should be more suitable for students who are just in contact. If you are just learning Go language, do not pay close attention ...
Posted by elementaluk on Mon, 18 May 2020 21:49:47 -0700
Little love students from the LAN remote control switch?
Little love students from the LAN remote control switch?
This is a small project made a few months ago. It was also learned from the big guys. In order to avoid forgetting the process, make a record and share it with the people who need it
The items needed for this project include: Arduino IDE on the computer end, Xiaomi mobile phone Xiaoai s ...
Posted by RealDrift on Mon, 18 May 2020 02:03:29 -0700
Simple timeline effect of mobile H5
Recently, I wrote the interface to the mobile terminal and told me that two of the pages are H5, which needs to be done by me. In line with the principle of "I'm a brick of the company, where I need to move", let's do it. As soon as the results look at the prototype, there is also a timeline effect. The first reaction: find Du Niang, ...
Posted by Richard on Sun, 17 May 2020 08:01:03 -0700
vue project keep alive returns to remember the scroll bar position
Requirements: click the home page list to enter the secondary page, and keep the original position when returning.Keep alive is a built-in component of Vue, which can keep the state in memory during component switching and prevent repeated rendering of DOM.
1:App.vue
<template>
<div id="app">
<!--Page return does ...
Posted by kundan on Sun, 17 May 2020 07:22:05 -0700
00002 layer right call out page, PopupLayer
My function here is to pop up the search page on the right:
top.layui.admin.popupRight({
id: 'LAY_business_PopupLayer'
,area: '350px'
,success: function(layero,index){
var sexArr = top.layui.dict.options("sex");
var statusArr = top.layui.dict.options("status");
...
Posted by cmaclennan on Sat, 16 May 2020 07:58:48 -0700
Mix react native and applet
background
In this paper, we will open a brain hole to integrate and run the small program scheme on the basis of react native project.
First look at the effect as follows:
Environment construction
npm install -g react-native-cli yarn
Official Environment construction documents It has been explained in detail and will not be repeated here. You ...
Posted by morphboy23 on Thu, 14 May 2020 01:27:53 -0700
Qt open source work 9 flat style flatui
1, Foreword
For the current front-end developers, FlatUI is certainly not new. In recent years, flat design has become more and more popular. Probably because the resolution of PC and mobile devices is getting higher and higher, flat design looks more pleasant, while the texture color produced by gradient color is not so kind as flat design.
Fl ...
Posted by nonphixion on Wed, 13 May 2020 19:19:38 -0700
Lifecycle aware component
brief introduction
Lifecycle is one of Google's recommended architecture components
Lifecycle aware components can perform actions in response to changes in the lifecycle state of another component, such as Activity and Fragment. These components help you write more organized and often streamlined code that is easier to maintain.
By using life ...
Posted by killerofet on Wed, 13 May 2020 03:20:25 -0700
Modify the column of AppCompatActivity
How to modify the title bar of AppCompatActivity
When we create a new ui interface in android studio, we often find the AppCompatActivity layout, which has its own title bar, but sometimes the title bar can not meet our needs, so we need to customize the title bar. This morning I Baidu for a long time finally solved.
...
Posted by SJones on Mon, 11 May 2020 10:43:39 -0700
[suggestion collection] 16 OpenCV functions start your journey of computer vision
Computer vision is one of the most popular fields in the current industry. With the rapid development of technology and research, it is booming. But it's still a tough task for newcomers. There are some common challenges for the developers or data scientists of XR R in their transition to computer vision, including:
1. How do we clean up image ...
Posted by crunchyfroggie on Fri, 08 May 2020 22:20:14 -0700