Jiangcheng Cheerful Pea: Personal homepage Personal column :《VUE》《javaScript》 Personal website : “Jiangcheng Cheerful Pea” The ideal of life is for an ideal life! Table of Contents ? Column introduction 1. What is two-way binding? 2. What is the principle of two-way binding? Understanding ViewModel 3. Implement two-way binding accomplish CompileCompile dependency collection ?Write at the […]
Tag: mvvm
Unreal UMG MVVM
Unreal UMG MVVM Article directory Unreal UMG MVVM background M-VM-V extension point === Editortime === Viewmodels editor interface View Bindings editor interface Blueprint compilation related === Runtime === Create ViewModel ViewModel update Background First read the documentation and quabqi’s UOD video sharing, which is currently the only information on the Internet. Take a look at […]
[Android] How to write an elegant BaseActivity suitable for MVVM
How to write elegant BaseActivity in Android 1 Introduction 2. How to implement 3. Actual development 1. Introduction In daily development, I believe that we all have our own BaseActivity for Activity. So after introducing JetPack, how to make our BaseActivity simple and efficient has become a question worth thinking about. Technology stack involved MVVM, […]
Implement navigation function in MVVM mode in WPF
Implementing navigation function in MVVM mode in WPF 1. Using TabControl Usage scenario: The project is small, so there is no need to consider memory overhead. Implementation method 1-manually specify ViewModel Define 3 UserControl as Views for demonstration <UserControl …> <Grid> <StackPanel Orientation=”Vertical”> <TextBlock HorizontalAlignment=”Center” VerticalAlignment=”Top” Text=”Page 1″ /> <TextBlock d:Text=”Page 1″ FontSize=”50″ Text=”{Binding PageMessage}” […]
[Transfer] [WPF] WPF MVVM simple example
1 Create a new WPF application WPFMVVMExample The program structure is shown in the figure below. 2 Model implementation Create a new business class StudentModel (class file StudentModel.cs) under the Model folder. The detailed code of the class is as follows. using System.ComponentModel; namespace WPFMVVMExample.Model { public class StudentModel : INotifyPropertyChanged { /// <summary> /// […]
[Transfer] [WPF] Three commands of MVVM mode
1.DelegateCommand 2.RelayCommand 3.AttachbehaviorCommand Because the MVVM mode is suitable for WPF and SL, there are some small differences in these three modes. For example, the CommandManager method under RelayCommand is under WPF and cannot be used under SL. However, I think the basic ideas in these three methods are the same. They all come from […]
Using MVVM in WPF to implement RTSP video playback
Foreword Video playback is often encountered in PC development, and there are basically two common solutions. 1. Use the SDK and front-end controls provided by the manufacturer for display. Common Hikvision/Dahua provide relevant SDKs and documents. 2. Turn on the camera onvif protocol and play it through the rtsp video stream. The front end can […]
Simple implementation of MVVM framework
As we all know, the current era is the prevalence of MVVM, from the early Angular to the current React and Vue, and from the initial three-point world to the current two tigers competing. It undoubtedly brings an unprecedented new experience to our development. We say goodbye to the thinking of operating DOM and replace […]
Using the MVVM pattern in WPF applications
The MVVM pattern is a technology that existed a long time ago. Recently, due to a project, I needed to use WPF technology. Therefore, I re-opened a program from the past and reviewed the technology of that year. MVVM pattern MVVM actually involves three parts, Model, View and ViewModel. The relationship between the three is […]
[Introduction to Vue] MVVM data two-way binding and the life cycle of Vue
Table of Contents 1. Introduction to Vue 1.1 What is Vue? 1.2 Advantages of Vue 1.3 The difference between libraries and frameworks 2. Getting started with Vue 2.1 MVVM (two-way data binding) 2.2 BootCDN (acceleration service) 3. Vue instance 3.1 Vue development example 3.2 Two-way data binding 3.3 Vue life cycle hooks 1. Introduction to […]