Use of android request network and httpclient to upload and download

Original link: http://www.cnblogs.com/riasky/p/3464808.html The most important access to the network is the http protocol. The http protocol is simple, but it's important. Directly on the code, which is a code block code block, with whi ...

Posted by maverickminds on Sat, 19 Oct 2019 10:13:53 -0700

Location and automatic update of Ormlite custom db

Original link: http://www.cnblogs.com/riasky/p/3473504.html First, let's talk about the following test code. It's a bit messy. We should pay attention to it. The following examples are all the framework of the ORM Lite. First, customize ...

Posted by dannyone on Sat, 19 Oct 2019 07:26:39 -0700

Detailed introduction to the basic use of RecycleView -- beginner specific edition, absolutely practical

This paper introduces the simple use of RecycleView. Import the package of support-v7 first implementation 'com.android.support:recyclerview-v7:28.0.0' Create an XML file and add the recycleview control as shown in the figure Add an item layout for recyview Initialize recycleview in Activity and ...

Posted by konetch on Fri, 18 Oct 2019 11:29:18 -0700

appium automation -- pageobject mode 02

Directory structure changes: 1. The Android client.py script has no changes: #AndroidClient.py from appium.webdriver.webdriver import WebDriver from appium import webdriver class AndroidClient(object): driver:WebDriver @classmethod def installApp(cls)->WebDriver: caps={} ...

Posted by hossfly007 on Fri, 18 Oct 2019 07:51:28 -0700

Using Python + plot to make three-dimensional interference image of two wave sources

After learning how to make two-dimensional Contour Plots of two wave source interference phenomenon, I found that plot also has three-dimensional image making, that is, 3D Surface Plots, which can better show the results of two wave source interference phenomenon, as expected. Some places in the middle should be explained. The default bottom of ...

Posted by webspinner on Fri, 18 Oct 2019 00:52:01 -0700

Powerful dropdown Filter menu package

A drop-down Filter menu with powerful customization Custom dropdown header Custom dropdown header item Custom dropdown menu Custom dropdown menu show animation time Control dropdown menu show or hide If it helps you, please pay attention to it. Your support is the driving force for me to keep updating. Navigation GIF effect picture How to u ...

Posted by Boxerman on Thu, 17 Oct 2019 12:09:26 -0700

Comparison of traversal performance between ArrayList and LinkedList

An example is used to test the traversal performance of ArrayList and LinkedList. Structural differences: There are two kinds of lists commonly used by us, ArrayList and LinkedList. Although both are list, the performance of different traversal methods varies greatly due to different internal storage structures. Characteristics of Lis t storage ...

Posted by tress on Thu, 17 Oct 2019 07:12:41 -0700

Flutter App software debugging guide

Preface Recommend: Android learning PDF + Architecture Video + interview document + source notes In the actual development, the proportion of testing and debugging time is relatively high in the total development time. When repairing product defects, we usually need to observe the value of an object in real time. Although output can be in the f ...

Posted by mikemike on Thu, 17 Oct 2019 06:05:26 -0700

HTTP access protocol converted to HTTPS

Preface Recently, I plan to write an applet, and then go to the applet development platform to fill in the request legal domain name. I found that only https protocol is supported.So I try to convert HTTP to HTTPS. First, I want to talk about my configuration: Alicloud server Operating system: CentOS 7.4 64 bit Web server: Tomcat 9.+ Detailed ...

Posted by mjedman1 on Thu, 17 Oct 2019 00:12:30 -0700

ProgressBar, an Android development entry component

Today, I'll talk about the progress bar (actually including the refresh circle). I'll mainly talk about some basic and common methods. First, I'll look at the pictures to know what I'm going to talk about. 1. Basic usage The default progress bar is a rotating refresh circle, i.e. without paramete ...

Posted by KMC1499 on Tue, 15 Oct 2019 10:10:41 -0700