Check patentability & draft patents in minutes with Patsnap Eureka AI!

Resource preprocessing method and device

A technology of preprocessing and preprocessing modules, applied in the direction of program control device, electrical digital data processing, creation/generation of source code, etc.

Active Publication Date: 2017-11-24
ADVANCED NEW TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a resource preprocessing method and device to solve the following technical problems in the prior art: the DataBinding library needs to be bound with the compilation period, and the layout resource preprocessing is completed during the compilation period, and cannot be separated from the compilation period alone

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
  • Resource preprocessing method and device
  • Resource preprocessing method and device
  • Resource preprocessing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Embodiments of the present application provide a resource preprocessing method and device.

[0023] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0024] As mentioned in the background technology, in the prior art, the DataBinding library needs to be bound with the compilation period, and the preprocessing of the layout resources can be completed during the compilation period, and can...

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 embodiment of the invention discloses a resource preprocessing method and device. The method comprises the following steps that: through a command line interface packaged for a resource preprocessing function, receiving a command line instruction; according to parameters contained in the command line instruction, generating the parameter of the resource preprocessing function; and through the parameter of the resource preprocessing function, executing the resource preprocessing function, and preprocessing a corresponding layout resource, wherein the resource preprocessing function is obtained according to a preset DataBinding library, and the DataBinding library is used for binding the layout resource with data displayed on the basis of the layout resource. By use of the embodiment of the invention, a compiling period and layout resource preprocessing decoupling can be separated so as to independently carry out layout resource preprocessing by separating from the compiling period.

Description

technical field [0001] The present application relates to the technical field of computer software, in particular to a resource preprocessing method and device. Background technique [0002] Model-View-ViewModel (Model-View-ViewModel, MVVM) was originally a software interface writing mode proposed by Microsoft, which decouples the view layer from the data layer, and realizes the linkage between the two through the ViewModel (ViewModel), and changes in real time Refreshing improved the efficiency of software interface writing, and later it was gradually accepted and promoted by the majority of developers. [0003] Data Binding (DataBinding) is a library officially launched by Android to implement the MVVM pattern. By declaring the data in the layout (layout) resource, the associated file is generated at the compile time, and dynamically bound at the runtime. The business model (Model) is updated in real time as the data changes. [0004] In the existing technology, Android ...

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/45
CPCG06F8/37G06F8/41
Inventor 黄咏
Owner ADVANCED NEW TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More