Supercharge Your Innovation With Domain-Expert AI Agents!

An Interactive Algorithm for Submitting Request Status Prompt

A technology for submitting requests and interaction methods, applied in program control devices, user interface execution, etc., can solve the problems of updating, can not well avoid users' multiple clicks, etc., so as to reduce system overhead, enhance management and experience, and improve interaction effect of effect

Active Publication Date: 2021-06-25
BEIJING KUWO TECH
View PDF11 Cites 0 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
  • An 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 submission 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...

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 submitting request status prompts, comprising the following steps: customizing SubmitView with a submit status button; setting the paint type and color of a brush; setting prompt texts corresponding to different submission statuses and submission results; setting default The drawing parameters of the button; define variables to control the interactive response of the button; rewrite the onLayout method to obtain the width and height of the control, calculate the chamfering angle of the control, and obtain the width of the brush; define an interface to monitor the callback loading success The last operation is used to monitor the loading process of the callback; rewrite the onDraw method to draw graphics according to the current different status flags. In the present invention, the custom button control can prompt the process and result of network loading, avoid sending multiple submission requests caused by multiple clicks by the user, reduce system overhead, improve interaction effect, enhance network interaction management and experience, and improve App development efficiency.

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 Patents(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