Sorting out the corresponding relationship between Android file operation api and path
I. briefly
In Android development, you often need to operate files. You have been unclear about the corresponding relationship between api and file path. Today, you have time to sort out the records so as not to forget them later.
ps: since there is no machine with SD card in hand, the following test results are all on the m ...
Posted by ChetUbetcha on Wed, 25 Dec 2019 11:02:15 -0800
Notes on the second edition of the first line of code for Android learning (7) the development of UI (4)
RecyclerView
The scalability of ListView is not good. It can only realize the vertical scrolling effect of data, but not the horizontal scrolling.
RecyclerView not only can easily achieve the same effect of ListView, but also optimizes the shortcomings of ListView.
RecyclerView scroll horizontally
1. RecyclerView is a new c ...
Posted by noclist on Wed, 25 Dec 2019 08:26:04 -0800
Similar to the effect of footer, using simple layout to realize the bottom suspension control of ListView
When using listview/recycleview, we often encounter a demand: a layout is suspended under a ListView, and when the items of ListView exceed the bottom of the screen, they are fixed at the bottom.
At first, I thought of using ListView's footer to realize this function. Later, I found a simple layout to realize this function.
L ...
Posted by tony.j.jackson@o2.co.uk on Tue, 24 Dec 2019 13:42:02 -0800
Android - use of data binding RecyclerView
Today, let's talk about the use of DataBinding in the list RecyclerView
List binding
List display is often used in App. Data Binding plays an important role in the list, directly binding data and events to each list item.
RecyclerView
In the past, we used to use ListView, GridView, or some customized views on GitHub to do waterfall flo ...
Posted by tat on Tue, 24 Dec 2019 12:01:30 -0800
Simple implementation of free sliding table with fixed header row
When the table slides up and down, the first row is fixed and linkage is not required. The effect is as follows:
Right slide, slide, select:
The structure is as follows:
Each Item of the header LinearLayout and the table content ListView is the same LinearLayout. If you want to have different lines, set the wi ...
Posted by gca07738 on Tue, 24 Dec 2019 08:28:23 -0800
Who secretly deleted your wechat? Don't panic! Python
I don't know if you have any experience. If you want to contact a friend who hasn't been contacted for a long time, you will find that the other party has deleted you a long time ago, but you still don't know.
It's believed that there are some "zombie fans" in everyone's wechat address book. They lie in the contact list silently. Yo ...
Posted by Najjar on Mon, 23 Dec 2019 23:46:14 -0800
vue mobile top navigation component
Needless to say, here is my own vue mobile top navigation component to share with you, dynamic binding background color, font color, and fallback icon. Take what you need and put it in the project
HTML
<template>
<div class="appraisalTooBar" :style="{background:bgColor, opacity:bgOpacity}">
<div class="lef ...
Posted by dgny06 on Mon, 23 Dec 2019 12:34:35 -0800
Android event distribution mechanism - system default mechanism
1. Why do you want to understand the Android event mechanism?
Background: when I was working on the Android project, I encountered a nested relationship like activity - > fragment - > Scrollview - > Button. When everything was ready, the system crashed when I clicked the Button after the program was started. Tencent B ...
Posted by Francois on Mon, 23 Dec 2019 11:17:02 -0800
Using ksoap2 to call webservice in Android
In recent demand, Android app calls remote webservice and checks it on the Internet. In general, it uses ksoap2 for a try. At first, it is not successful. Then it uses axis used in web development last year for reference. Finally, it returns to ksoap2. After several attempts, it is finally successful. The share is as follows:
...
Posted by ICEcoffee on Mon, 23 Dec 2019 09:05:28 -0800
Flutter's multi-platform adapter mechanism is as simple as that
We all know that Flutter achieves multi-end consistency in the presentation layer and consistent UI effects through rendering on Android and iOS platforms.So if you're just developing a triple library for Android, iOS, and Web, what's a good idea?
Flutter Network Request
Can be used when developing Flutter http Core Library .You can also use o ...
Posted by narimanam on Sun, 22 Dec 2019 12:12:36 -0800