Android: ListView vs RecyclerView

1,ListView Due to the limited screen space of mobile phones, there is not much content that can be displayed on the screen at one time. When there is a large amount of data to be displayed in the program, it can be realized with the help of ListView. ListView allows users to scroll off screen data i ...

Posted on Fri, 21 Feb 2020 02:20:08 -0500 by Acs

C# 8.0 New Feature Two: Default Interface Implementation

In C#8.0, a new feature for interfaces is the ability to specify default implementations to extend existing implementations and the possibility of interoperability with APIs for Android and Swift.Let's look at the specific rules and implementation of this feature. 1. Main scenarios: New members can be added without disrupting existing implement ...

Posted on Thu, 20 Feb 2020 11:14:52 -0500 by sijis

Android boot page implementation

background If we need to load some resources in our APP, or need a transitional interface to make the main interface display not so abrupt, then we need to use the concept of the guide page. By loading some resources during the guide page, users will not be able to do anything, which leads to a bad ex ...

Posted on Thu, 20 Feb 2020 04:30:23 -0500 by cwiddowson

Android - shared preferences storage (including source download)

Android system provides a lightweight data storage method - shared preferences storage. It shields the operation of the underlying file, and provides a simple programming interface for the program developers to realize the most simple way to permanently save the data. This method mainly saves a small am ...

Posted on Wed, 19 Feb 2020 23:07:07 -0500 by twilson

The actual battle of Android Development Project: to achieve folding layout

First, implement a ExpandedListView with fixed head , and then realize it on the basis of it: add a background image to the head. By default, it is in the expanded state. When it slides up, the background image gradually folds up. When it slides down, the background image slowly expands as follows: Foldable layout realized by CoordinateLayout ...

Posted on Wed, 19 Feb 2020 01:38:22 -0500 by NEWDAY

Android P Settings source data loading analysis

Android P Settings Settings start process analysis 1. Direct rotor tripping interface Setting is an important application of the whole android system, which involves system functions. In order to distinguish and obtain information more conveniently, many attributes are added to the Android manif ...

Posted on Tue, 18 Feb 2020 07:39:13 -0500 by ajanoult

Android Development: simple login function

Github address: food sharing platform, welcome star and fork thinking In addition to the design of login interface, the cooperation of database and encryption function is needed to realize simple login (account password login) function. The train of thought is Register the account in the registration ...

Posted on Tue, 18 Feb 2020 05:27:32 -0500 by goa103

Android dynamic agent learning notes

1, What is agency There is a proxy mode in the design and development of Android. The specific idea is to use a class to proxy a class with specific business functions. When other objects want to realize this kind of business, they only need to access the proxy class. At the same time, the proxy class ...

Posted on Mon, 17 Feb 2020 01:16:16 -0500 by Qlubbie

Widget layout and page navigation developed by Flutter

1, Horizontal layout Row Row control can be divided into two types: non flexible arrangement and flexible arrangement. It can be flexibly used by expanding outside Mix the two: import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override ...

Posted on Sun, 16 Feb 2020 07:05:29 -0500 by friedemann_bach

Android UI: usage of common controls

Last article: Getting started with Android (8): practical tips for activities I think it's a start to write program interface. Before we start to learn common controls, we will create a new UIWidgetTest project TextView Modify activity main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLa ...

Posted on Sun, 16 Feb 2020 03:07:50 -0500 by rel