Use of Android Adpater s
Reprinted from: https://my.oschina.net/u/658933/blog/372151
Source code http://files.git.oschina.net/group1/M00/00/56/cHwGbFTLSfOAEAIjAAF86dDXjmU684.rar?Token=726426a40eb7a2151c50aab086fcce&ts=1422608917&filename=AndroidTest.rar?
Use of Android Various Adapter s
It's also a ListView that can be used differently
Adapter lets it show, ...
Posted by Onloac on Mon, 15 Jul 2019 22:16:55 +0200
JS-compatible instant preview effect of local map upload in different browsers
A long time ago, I met such a demand in my work. At that time, it was also a long time entanglement, but also google did not meet the appropriate demo. Today, I specially studied this problem, so I made a simple demo to realize the real-time preview effect of uploading pictures locally. Its standard browsers (firefox,chrome, IE10 and other bro ...
Posted by georgee.b on Sat, 13 Jul 2019 00:54:28 +0200
asp.net avoids ajax timing calls and uses ashx to implement long polling (long polling)
Links to the original text: http://www.cnblogs.com/syblogs/archive/2013/05/18/3085575.html
Motivation: My friend told me that he implemented a message reminder mechanism in his company. I asked him how he did it. He said that he impleme ...
Posted by The voice on Fri, 12 Jul 2019 23:35:00 +0200
Interprocess Communication--IPC
Preface:
Inter-process Communication (IPC) refers to the communication between processes. Generally speaking, an app has only one process, but may have multiple threads, so we use multithreaded communication, such as handler,AsyncTask.
But in some special cases, we need multiple processes in our app, or we need to communicate across processes w ...
Posted by kaimason1 on Wed, 10 Jul 2019 19:56:18 +0200
Material Design Compatibility Control Learning
Sketch
Material Design, introduced from Android 5.0, is a brand new design language called "Raw Material Design", which is a design style, concept and principle advocated by Google. Combining the imitation design and flat design style, some scientific and technological concepts are integrated.
For further information, check out this w ...
Posted by matafy on Sun, 07 Jul 2019 01:06:04 +0200
Latest Python Asynchronous Programming Explanation
We all know that asynchronous programming can greatly improve the throughput of the system for I/O-related programs, because in the process of reading and writing an I/O operation, the system can deal with other operations (usually other I/O operations) first, so how to implement asynchronous programming in Python?
The simple answer is that P ...
Posted by garydt on Sat, 06 Jul 2019 21:37:08 +0200
AF Security Policy of AFNet Working Source
1 HTTPS and SSL/TSL
Secure Sockets Layer (Secure Sockets Layer), because the HTTP protocol used on the Internet is plain text, there are many shortcomings, such as transmission content will be peeped and tampered with. The role of the SSL protocol is to encrypt the network connection at the transport layer.
By 1999, because of its wide applicat ...
Posted by toddg on Sat, 06 Jul 2019 01:03:58 +0200
Android Dynamic Rights Management Model (4.3-6.0)
Google has tried to introduce the AppOpsManager dynamic rights management model since 4.3, but since the technology feels premature, this feature has been hidden in the Release version, so the official Rom has never had a dynamic rights management mechanism.Until Android 6.0, in order to simplify the installation process and facilitate user con ...
Posted by umrguy on Fri, 05 Jul 2019 18:40:26 +0200
Start developing Android with Kotlin
The first is related resources.
AndroidStudio 3.0 canary 1 Official Download Address
Click without ladder Baidu Cloud Download Address
Google provides demo clicks on new Android O features and Kotlin Kotlin Demo
Android Studio 3.0 already fully supports Kotlin, so now you can easily build a new Kotlin-based Android project or add Kotlin ...
Posted by Shroder on Sun, 30 Jun 2019 00:43:13 +0200
Summary of Android Data Binding (II)
Preface
In my last article, I briefly learned about the environment configuration and basic usage of DataBinding:
Summary of Android Data Binding (I)
This article summarizes the basic ways of using Google's official documents.
Basic data binding
1. Objects (JavaBean s) can be created in this way:
/**
* Created by QingMei on 2017/5 ...
Posted by Carlo Gambino on Thu, 27 Jun 2019 20:16:47 +0200