Fragment for lazy loading

1.   1. When we do application development, a single Activity may be combined with multiple fragments by viewpager (or other containers). ViewPager caches three pages of data by default.   2. That is, every Fragment loaded by Viewpager, the Fragment on the left or right side of the Fragment is preloaded.   3. If every fra ...

Posted by thientanchuong on Sun, 05 May 2019 21:16:03 +0200

Python Reptiles: Summary of 8 Common Reptilian Skills!

Python's most frequently used scenarios are web rapid development, crawler, automated operation and maintenance: writing simple websites, writing automatic posting scripts, writing email scripts, writing simple verification code identification scripts. Reptiles also have a lot of reuse in the development process. Here's a summ ...

Posted by markwillis82 on Sun, 05 May 2019 11:08:04 +0200

Use server to train and test YOLOv3

Server usage Remote Connection Use XShell to establish SSH connection with server, configure username and password Environment Configuration Create your own python environment and clone the base environment directly for convenience conda create --name yzh-env --clone base Switch to your environment and install jupyter n ...

Posted by EricC on Sun, 05 May 2019 10:40:03 +0200

Principle Analysis of Distributed Message Communication ActiveMQ II

This chapter focuses on: 1. unconsumed Message source code analysis 2. PrefetchSize on the consumer side 3. Message confirmation process 4. Message Retransmitting Mechanism 5. ActiveMQ multi-node high performance scheme Message Consumption Flow Chart Acquisition process of unconsumed Messages data Let's see what's going on in Acti ...

Posted by techker on Sun, 05 May 2019 08:42:22 +0200