Android development learning - use of custom controls

Inherited structure of controls and layouts: Before using custom controls, we need to know the inheritance structure of controls and layouts of Android UI. As shown in the figure below: As you can see, all the controls we use are directly or indirectly inherited from View, and all the layouts we use ...

Posted by supinum on Sun, 14 Jun 2020 21:56:02 -0700

How to use listview

Reference link https://www.bilibili.com/video/BV1mW411S7ot?p=42 catalog 1.listView 2.simpleAdapter 3.baseAdapter 4. About the application of baseAdapter in binding ##############This is the fence ############## ############## ############## introduce listView is a view used to output lists. L ...

Posted by thor erik on Sat, 13 Jun 2020 19:40:49 -0700

[Android RTMP] RTMPDump encapsulates RTMPPacket packets (encapsulates SPS / PPS packets)

Article catalog 1, Basic package data format description 2, General description of packaged SPS PPS data 3, Package header data 4, Encapsulating SPS data 5, Package PPS data 6, Set other parameters of RTMP packet 7, SPS PPS data encapsulation code example Android live streaming process: the mobile ...

Posted by sw0o0sh on Sat, 13 Jun 2020 18:11:41 -0700

Filter and Listener related learning notes

Filter: filter concept When accessing the resources of the server, the filter can intercept the request and complete some special functions. Generally used to complete general operations. (such as login authentication, unified encoding, sensitive character filtering...) step Define a class to imp ...

Posted by RClapham on Fri, 12 Jun 2020 22:09:52 -0700

Turn your video to text (3-export word)

Hello, this is the last article in the series. We will export the text record to a well-organized word document for easy reading and sharing. The source code address thomas open source project Overall structure This chapter is in the third step of the overall transformation process, as shown in the following figure: Introduction to docx docum ...

Posted by talltorp on Thu, 11 Jun 2020 22:56:14 -0700

VS2015+OpenCV4.1.2 once and for all configuration mode and seamless switching between different OpenCV versions

VS2015+OpenCV4.1.2 complete and detailed once and for all configuration mode 1, Environment variable configuration 1. User variable settings Add user variable: opencv_ Pathj (my name is OpenCV_PATHhj) User variable value: D:\Program Files\OpenCV\opencv4.1.2\opencv\build D:\Program Files\OpenC ...

Posted by jazappi on Thu, 11 Jun 2020 21:57:32 -0700

A seemingly usable binary serialization help class

This is only a helper method help class, which can help small partners to write binary serialization efficiency. The code is also in the past Before I start, I need to say that if it's not necessary, don't use binary serialization. Because it's hard to achieve version compatibility, if you write w ...

Posted by void_function on Thu, 11 Jun 2020 01:15:48 -0700

J2EE knowledge summary

J2EE knowledge summary 1, DTD 1. Why DTD? 2. What is DTD? 3. Where is DTD used? 4. How to use DTD? 5. Example explanation 2, XML 1. Why XML? 2. What is XML? 3. Where is XML used? 4. How is XML used (XML modeling)? 5. Example explanation 3, Reflex 1. Why reflection? 2. What is reflex? 3. Where is ...

Posted by esthera on Wed, 10 Jun 2020 22:54:42 -0700

[js] D3 drawing parallel coordinates

Parallel coordinate system (parallel) is a kind of commonly used chart to visualize high-dimensional data. Parallel coordinate system has a good mathematical basis, and its projective geometry interpretation and dual characteristics make it suitable for visual data analysis. Article catalog 1. Drawin ...

Posted by henrygao on Wed, 10 Jun 2020 22:25:46 -0700

python crawling Douban short film review + CI Yun

1, requests+lxml non login crawling Douban data 1. First, open Douban and find the url of the short movie review you want to crawl, for example:2. Open the developer tools in the web page, and most computers can press F12 directly, but there are also differences. For example, ThinkPad uses Fn+F12 to open, find the network in the page - > cli ...

Posted by jpopuk on Tue, 09 Jun 2020 22:25:09 -0700