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

Method and device for loading picture in listbox

A technology of list boxes and pictures, applied in the field of picture display, can solve the problem of large consumption of system memory resources

Active Publication Date: 2014-12-31
BEIJING FEINNO COMM TECH
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for loading pictures in a list box to solve the problem of excessive system memory resource consumption when loading pictures in a list box in existing smart terminals

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
  • Method and device for loading picture in listbox
  • Method and device for loading picture in listbox
  • Method and device for loading picture in listbox

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0037] figure 1 It is a flowchart of a method for loading pictures in a list box in an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0038] Step 101, when the list box is bound to a data source, monitor the state of the scroll window of the list box.

[0039] In this step, the bound data source is text other than pictures that need to be displayed in the scroll window of the list box.

[0040] In an embodiment of the present invention, step 101 further includes: further initializing the image data source in memory when the list box is bound to the data source.

[0041] Since the picture is loaded when the scrolling window of the list box stops scrolling, the state of the scrolling window nee...

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 method and a device for loading a picture in a listbox. The method comprises the following steps: monitoring the state of a scrollviewer of the listbox when a data source is bound to the listbox; acquiring the position of the picture in each item in the listbox relative to the scrollviewer when monitoring a scrolling stop state of the scrollviewer; determining the picture corresponding to a viewable area of the scrollviewer according to the position of the picture in each item in the listbox relative to the scrollviewer; only loading the determined picture in a memory and displaying in the scrollviewer. According to the technical scheme provided by the invention, the problem of overlarge consumption of system memory resource existing in the conventional method and device for loading the picture in the listbox can be solved.

Description

technical field [0001] The present invention relates to the technical field of picture display of intelligent mobile terminals, in particular to a method and device for loading pictures in a list box. Background technique [0002] When displaying pictures in the visible area of ​​the scroll window (ScrollViewer) of the list box (ListBox) under the existing intelligent system (such as Windows Phone), all the pictures in the ListBox need to be loaded. However, not all the loaded pictures can be browsed by the user, and the synchronous loading of the pictures that the user has not browsed leads to excessive consumption of system resources and excessive occupation of the system memory of the smart terminal. [0003] To sum up, there is a problem of excessive consumption of system memory resources when loading pictures in the list box in the existing smart terminal. Contents of the invention [0004] The present invention provides a method and device for loading pictures in a ...

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
IPC IPC(8): G06F9/44G06F9/50
Inventor 罗林波
Owner BEIJING FEINNO COMM TECH
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