Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for fast page loading of listview in android system

A paging and fast technology, applied in the direction of program loading/starting, data processing input/output process, instruments, etc., can solve the problems of difficult application program maintenance, poor user experience, large storage resources, etc., to save resource consumption, The effect of reducing waiting time and easy expansion

Active Publication Date: 2019-12-06
SHANDONG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has the following defects: 1. When the ListView list control needs to be used in multiple places in the application, it is necessary to write paging logic for each control to achieve the desired effect. bad user experience
2. If the paging strategy provided by the server changes, a large number of modifications need to be made on the client software. The operations of different strategies are mixed together, and the code complexity will lead to inefficiency, and the application program is not easy to maintain

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for fast page loading of listview in android system
  • A method for fast page loading of listview in android system
  • A method for fast page loading of listview in android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0038] A method for fast page loading of ListView in Android system, such as figure 1 shown, including the following steps:

[0039] (1) Initialize the initial state;

[0040] (2) Obtain the parameters required for loading data, which are used to determine the location of the loaded data, and are encapsulated into different independent abstract methods, namely parameter acquisition methods, for different subclasses to implement according to the different paging loading modes;

[0041] When the paging loading mode is loading by fixed paging, the parameter acquisition method is realized by the subclass divideA, and the two parameters to be obtained are set as param1 and param2 respectively, such as figure 2 shown, including the following steps:

[0042] A. In the resource pool provided by the server, label all resources in pages;

[0043] B. When the client makes a request for loading data to the server, it also sends the page number index of the current client content to the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a ListView quick page loading method in the Android system. The ListView page loading process is split into the three large parts of the achieving of the abstract parent class of the basic general paging logic, the acquisition of the inherited child class of the load parameters for different load modes, and the specific use of the Activity class on the ListView paging load; through this method the paging load of the resources by the ListView is achieved, while the user waiting time is reduced, and resource consumption is saved. In addition, the fast transplant of the ListView page load function is achieved through packaging, when the function is needed to be used in an application, only the instantiation objects and simple operations are needed, multiple repetitions and page logic additions are not needed, the extent of code complexity is simplified, the development speed is increased, and the use of ListView is more clearly, and the ListView is easily extensible, easy to maintain and improves system performance.

Description

technical field [0001] The invention relates to a method for fast page-by-page loading of ListView in an Android system, and belongs to the technical field of ListView list optimization in the Android system. Background technique [0002] In recent years, the Android operating system has continued to develop and evolve, and smart devices equipped with the Android operating system have gradually become an indispensable tool for ordinary people every day. Among the various ways for Android devices to interact with users, displaying information in a list is the most commonly used one. Therefore, ListView has become one of the most flexible and widely used controls in the Android system. Developers can display resources to users through ListView, including displaying text, pictures, data and other types of content. For example, commonly used contact lists, Weibo information, WeChat messages, etc. are all implemented using the ListView control. [0003] Under normal circumstance...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44G06F9/445G06F3/0482
CPCG06F3/0482G06F9/44521G06F9/451
Inventor 张海霞坚传辉
Owner SHANDONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products