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

Batch processing method and device for custom controls, electronic equipment and storage medium

A batch processing, electronic device technology, applied in the Internet field, can solve the problems of large repetitive workload, complex batch processing of custom controls, extended attributes and methods, etc.

Pending Publication Date: 2021-02-26
GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the repetitive workload of related technologies is relatively large, which makes the batch processing of extended attributes and methods of custom controls more complicated.

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
  • Batch processing method and device for custom controls, electronic equipment and storage medium
  • Batch processing method and device for custom controls, electronic equipment and storage medium
  • Batch processing method and device for custom controls, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0035] see figure 1 , this application provides a batch processing method for custom controls, including:

[0036] S10: define an interface;

[0037] S20: Define the required extended attributes and methods in the interface;

[0038] S30: Implement the interface so that multiple custom controls can perform batch processing on the extended properties and methods.

[0039] see figure 2 The embodiment of the present application also provides a batch processing device 100 for custom controls, and the batch processing method...

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 batch processing method for custom controls. The batch processing method comprises the steps that an interface is defined, attributes and methods needing to be expanded are defined in the interface, and the interface is achieved so that a plurality of custom controls can conduct batch processing on the expanded attributes and methods. According to the batch processing method provided by the embodiment of the invention, the interface is defined, the attributes and the methods required to be expanded are defined in the interface, and the effect that subclasses inherit parent classes in the Java programming language is achieved after the plurality of custom controls achieve the interface, so that the plurality of custom controls can perform batch processing on the expanded attributes and the expanded methods simply. Influence on control codes already achieved in the control library is small, the codes are simple, and repeated workloads are obviously reduced. In this way, the extended attributes and methods of the multiple custom view controls can achieve a simple batch processing mode. The invention further discloses a batch processing device, electronic equipment and a storage medium.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a method for batch processing of custom controls, a processing device, electronic equipment, and a computer storage medium. Background technique [0002] In the process of developing and using the Java programming language in the Android (Android) system, custom controls are often required, such as custom view controls, and properties and methods need to be defined at the same time. It is more complicated when batches of custom view controls need to add the same methods and properties uniformly. In related technologies, the scheme of adding the same attributes and methods to each custom view control can only be added separately, and the repetitive workload is relatively large; or the scheme of implementing the interface and implementing the methods in it, and this scheme Often only some methods are declared to facilitate unified external calls, but each custom...

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): G06F8/38G06F8/71G06F9/445
CPCG06F8/38G06F8/71G06F9/44505G06F9/44526
Inventor 吝博川刘文辉
Owner GUANGZHOU XIAOPENG MOTORS TECH CO LTD
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