Supercharge Your Innovation With Domain-Expert AI Agents!

Interactive algorithm for submitting request status prompt

A technology for submitting requests and states, applied in the direction of user interface execution, program control devices, etc., can solve the problem of not being able to avoid multiple clicks and updates by users

Active Publication Date: 2019-01-01
BEIJING KUWO TECH
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the Android system, the Button click button control is provided, but the UI cannot be updated according to the different states at the time of submission, and the user cannot be well prevented from clicking multiple times.

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
  • Interactive algorithm for submitting request status prompt

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0101] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0102] Such as figure 1 As shown, the interactive algorithm of the submission request status prompt of the present invention includes the following steps:

[0103] Customize the button class SubmitView with submit status, inherit the View class provided by the Android system, and use it to draw the button and present the process and results of network loading in the button.

[0104] The process of network loading is used to present the submission status to the user,

[0105] The network loaded results are used to present the submitted results to the user;

[0106] Set the brush paint class and color,

[0107] The brush paint class is specifically subdivided into:

[0108] The variable mBorderPaint is a variable of the Paint type provided by the Android system, which is used to draw the border of the custom control.

[0109] The variable mTextPaint is a v...

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 relates to an interactive algorithm for prompting the status of a submission request, comprising the following steps: customizing a SubmitView with a submission status button class; setting brush paint class and color; setting prompt text corresponding to different submission status and submission results; setting the drawing parameters of the default button; defining variables to control the interactive response of buttons; overriding the onLayout method, getting the width and height of the control, calculating the chamfer angle of the control, getting the width of the brush; defining an interface for listening to the operation after the callback is loaded successfully and for listening to the process of starting the loading of the callback; overriding the onDraw method to draw graphics based on the current different state identifiers. The user-defined button control of the invention can prompt the process and result of network loading, can avoid sending multiple submission requests caused by multiple clicks of a user, lighten system overhead, improve interaction effect, enhance management and experience of network interaction, and improve development efficiency of App.

Description

technical field [0001] The invention relates to the technical field of interactive interface design, in particular to an interactive algorithm for submitting request status prompts. Background technique [0002] Existing interactive interfaces (such as the interactive interface in the App, the interactive interface in the webpage, etc.), when submitting data to the remote end, need at least one button for sending a submission request. [0003] Submitting data to the remote end needs to go through the network, so it usually takes a certain amount of time to wait and get the return information (submission result). During this period, users need to be shielded from continuing to click to avoid sending multiple submission requests. [0004] In the Android system, the Button click button control is provided, but the UI cannot be updated according to the different states at the time of submission, and the user cannot be well prevented from clicking multiple times. Button controls...

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): G06F9/451
CPCG06F9/451
Inventor 孙征
Owner BEIJING KUWO TECH
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