MVVM-framework-based view page displaying method and apparatus

A page display and view technology, applied in program control devices, instruments, electrical and digital data processing, etc., can solve problems such as simplicity, achieve clear responsibilities, reduce learning costs, and reduce burdens

Inactive Publication Date: 2017-04-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the concept of MVC is too simple, a large amount of code logic is not clearly defined in MVC, which makes it easy to accumulate in the controller (Controller), causing MVC to become a Massive View Controller

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
  • MVVM-framework-based view page displaying method and apparatus
  • MVVM-framework-based view page displaying method and apparatus
  • MVVM-framework-based view page displaying method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making...

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 provides an MVVM-framework-based view page displaying method and apparatus. The method comprises: when receiving of a first external input by a view controller is determined, the view controller sends an original data request to a data controller; after the data controller receives the original data request, the data controller makes a request of corresponding original data to a data storage device, receives the original data, generates a view data array, and sends the view data array to a view data processing controller; the view data processing controller processes the view data array to obtain view display data; and after receiving of a second external input by a view control element is determined, the view control element sends a view display data request to the view data processing controller, receives view display data sent by the view data processing controller, and displays the view display data at a view page. In addition, the invention also discloses a corresponding MVVM-framework-based view page displaying apparatus.

Description

technical field [0001] The present invention relates to the technical field of mobile terminals, in particular to a view page display method and device based on MVVM architecture. Background technique [0002] Various applications in mobile terminals generally need to display various pieces of information in the form of pages, and the page display is usually displayed by using a Model-View-Controller (Model-View-Controller, MVC) framework. Commonly used MVC frameworks include: model layer (Model), view layer (View) and control layer (Controller). When using the traditional MVC framework for display, similar to displaying other types of views, after the model layer obtains the data, the control layer layouts and encapsulates the list data, and then notifies the view layer for display, where the control layer is viewing the view data. The layout package is developed as a whole. The biggest advantage of adopting this architecture is that it is simple in concept and easy to use...

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/44
CPCG06F8/24G06F8/31G06F8/38
Inventor 宋沛
Owner WUHAN DOUYU NETWORK 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