Method and device for loading placeholder map

A bitmap and position display technology, which is applied in the computer field, can solve problems affecting application performance, integration of web pages, and inability to provide a unified interface occupancy image loading, etc., to improve user experience, overcome application performance, and improve application development efficiency. Effect

Pending Publication Date: 2020-02-18
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Image component in the existing React Native Android version does not support the placeholder attribute. In actual applications, two images need to be superimposed to achieve the effect of the placeholder image, which will affect application performance.
[0003] In addition, since the existing React Native does not support web-side development, in the process of application development, it is often necessary to use React Native to write Android and iOS-side codes, and then use conversion tools such as React Web to convert to the web-side
It can be seen that the existing technology cannot realize the real integration of the Android terminal, the iOS terminal and the web terminal, nor can it provide a unified interface to realize the loading of the placeholder image on the above three 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 placeholder map
  • Method and device for loading placeholder map
  • Method and device for loading placeholder map

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] When a user uses a terminal device to load a target picture (generally a network picture), it often takes a period of time from the beginning of loading to the success or failure of loading. In order to improve the user experience, the placeholder image stored locally can be used to display the display position corresponding to the target image when loading starts, ...

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 device for loading a placeholder map, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: when apicture component is used for starting to load a target picture, assigning address information of the placeholder map to placeholder map attributes of the picture component in advance, and loading theplaceholder map at a display position corresponding to the target picture; wherein the picture assembly supports a loading prompt attribute and is used for displaying a rotating prompt icon in a picture loading process; wherein the placeholder map attribute is obtained after the automatic rotation effect of the loading prompt attribute is removed. According to the embodiment, the placeholder attributes can be generated by modifying the related attributes of the existing picture component, so that the placeholder effect is realized on the premise of not influencing the application performance.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and a device for loading a placeholder image. Background technique [0002] React Native is an open source cross-platform mobile application development framework that currently supports Android and iOS platforms. Among them, Android (Android) and iOS are both operating systems that can be installed on mobile devices. In the existing ReactNative framework, the target image is generally loaded by configuring various properties of the image component. In order to improve the user experience, the actual application needs to display a placeholder image when loading starts or fails. However, the Image component in the existing React Native Android version does not support the placeholder image attribute. In actual applications, two images need to be superimposed to achieve the placeholder image effect, which will affect application performance. [0003] In addition, becau...

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): G06F16/958
Inventor 刘艳
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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