ListView-based method and system of hierarchical display of customized tree-shape-structure data

A tree structure, data classification technology, applied in the direction of structured data retrieval, structured data browsing, visual data mining, etc. Intuitive effect

Inactive Publication Date: 2018-07-06
AEROSPACE INFORMATION
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The list component can be expanded through ExpandableListView, although it is very convenient for our development, but it displays a relatively small set of data layers. Currently, it only supports two levels. Of course, it can be transformed into a multi-level one by itself, but its data set is more complicated. Expansion Sex is not strong

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
  • ListView-based method and system of hierarchical display of customized tree-shape-structure data
  • ListView-based method and system of hierarchical display of customized tree-shape-structure data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present invention will now be described with reference to the drawings; however, the present invention may be embodied in many different forms and are not limited to the embodiments described herein, which are provided for the purpose of exhaustively and completely disclosing the present invention. invention and fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings do not limit the present invention. In the figures, the same units / elements are given the same reference numerals.

[0026] Unless otherwise specified, the terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it can be understood that terms defined by commonly used dictionaries should be understood to have consistent meanings in the context of their related fields, and should not be understood as idealized or over...

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 discloses a ListView-based method of hierarchical display of customized tree-shape-structure data. The method is characterized in that the method comprises: setting different indenting character numbers according to different layer levels where nodes are located; extracting attribute information of each node according to information of a data unit Bean of a user, and forming list information of the displayed nodes by encapsulation according to the attribute information of each node; sorting all the nodes according to inheritance relationships among all the nodes to acquire an inheritance relationship list, determining a root node in tree-shape-structure data, which correspond to all the nodes, on the basis of the inheritance relationship list, and converting the inheritance relationship list into the hierarchical tree-shape-structure data according to the root node; filtering out nodes, which do not need to be hierarchically displayed, according to a browsing node of theuser to acquire the tree-shape-structure data of the nodes needing to be displayed; and using the browsing node as a root node to hierarchically display the expanded tree-shape-structure data.

Description

technical field [0001] The present invention relates to the field of tree structure data display, and more specifically, to a method and system for hierarchically displaying user-defined tree structure data based on ListView. Background technique [0002] In daily development work, it is possible to encounter some data that needs to be displayed in an expandable list, so Android provides the ExpandableListView class, and many cases are developed based on this class. [0003] The list component can be expanded through ExpandableListView, although it is very convenient for our development, but it displays a relatively small set of data layers. Currently, it only supports two levels. Of course, it can be transformed into a multi-level one by itself, but its data set is more complicated. Expansion Sex is not strong. Contents of the invention [0004] In order to solve the above problems, according to one aspect of the present invention, a method for hierarchically displaying ...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/26
Inventor 常振家秦天凯付立库王云龙孟岑张树林刘璐
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products