VIEWMODEL in English translation

view model
viewmodel

Examples of using Viewmodel in Vietnamese and their translations into English

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Nếu ViewModel cần truy cập vào các class Android class, chúng ta tạo ra những wrapper gọi là các Provider.
If the ViewModel needs access to Android classes, we create wrappers that we call Providers.
Do đó, tôi khuyên bạn nên tạo một lớp ViewModel giúp bạn dễ dàng hiển thị nó hơn với UI.
Therefore, I suggest you create a ViewModel class that makes it easier for you to display it to the UI.
Nếu ViewModel hoặc Model class xác định một thuộc tính mà trả về một
If the view model or model class defines a property that returns a reference to a collection,
ViewModel được tách biệt hoàn toàn với UI
The ViewModel is completely separated from the UI or any Android classes,
Khi một ViewModel bị hủy,
When a ViewModel is destroyed,
Nếu ViewModel mô tả một collection,
If the view model represents a collection,
Không giống như Presenter trong mô hình MVP, ViewModel không cần tham chiếu đến View.
Unlike the Presenter in MVP, a ViewModel does not need a reference to a view.
Thông thường, có một mối quan hệ 1- nhiều giữa các lớp các lớp ViewModel và Model.
There's typically a one-to-many relationship between the view model and the model classes.
Các lớp View không nghĩa rằng các lớp model tồn tại, trong khi ViewModel và model không hề biết View.
The view classes have no idea that the model classes exist, while the ViewModel and model are unaware of the view.
Không giống như Presenter trong mô hình MVP, ViewModel không cần tham chiếu đến View.
In contrast to the Presenter in MVP, a ViewModel not need a reference to a view.
Nhìn chung, ViewModel tối ưu sử dụng pattern Observer để thông báo sự thay đổi trong ViewModel sang Model.
Typically, the view model uses the observer pattern to notify changes in the view model to model.
Bạn pass truy vấn từ onSaveInstanceState() tới ViewModel, xác định rằng nó đã nạp các dữ liệu cần thiết
You pass the query from the onSaveInstanceState() bundle to the ViewModel, which determines that it already has loaded the necessary data and that it does
ViewModel nên thực thi một thuộc tính chỉ đọc trả về một ICollectionView reference để các control trong View có thể kết buộc dữ lêệu vào collection view object và tương tác với nó.
The view model should implement a read-only property that returns an ICollectionView reference so that controls in the view can data bind to the collection view object and interact with it.
Từ những gì chúng tôi đã thấy cho đến nay, lợi ích chính của mô hình ViewModel là xóa mã khỏi mã XAML- behind để làm cho XAML chỉnh sửa một tác vụ độc lập hơn.
From what we have seen so far the main benefit of the ViewModel pattern to remove code from XAML code-behind to make XAML editing a more independent task.
Một ví dụ phổ biến đó là khi ViewModel cung cấp câu lệnh Submit cho phép người dùng gửi dữ liệu đến một web service hoặc một nơi lưu trữ dữ liệu.
A common example is when the view model provides a Submit command that allows the user submit data to a web service or to a data repository.
Trong một trong hai kịch bản này, bạn vẫn phải sử dụng một ViewModel để tránh lãng phí các chu kỳ tải lại dữ liệu từ cơ sở dữ liệu trong quá trình thay đổi cấu hình.
In either of these scenarios, you should still use a ViewModel to avoid wasting cycles reloading data from the database during a configuration change.
Các câu lệnh và thuộc tính mà ViewModel cung cấp xác định chức năng được đề nghị bởi UI,
The properties and commands that the view model provides define the functionality to be offered by the UI, but the view determines how that
Một giả thiết, thường xuất hiện từ mô hình này, là ViewModel chỉ cần thay thế bộ điều khiển trong MVC(
One assumption, that frequently came out of this pattern, was that the ViewModel simply replaced the controller in MVC(as if you could just substitute VM
Khi người dùng chọn một customer trong UI, ViewModel sẽ được thông báo để nó có thể thực thi các câu lệnh liên quan đến customer được chọn hiện tại.
When the user selects a customer in the UI, the view model will be informed so that it can apply the commands that relate to the currently selected customer.
bạn sẽ nhận được tất cả các lợi ích từ Architecture Components như Lifecycle và ViewModel trong khi Navigation sẽ xử lý sự phức tạp của FragmentTransilities giùm bạn.
the box support for different Fragments, you are provided with complete Architecture Components advantages like ViewModel and Lifecycle while also allowing Navigation to completely handle all the complexities of FragmentTransactions for the developer.
Results: 178, Time: 0.0209

Top dictionary queries

Vietnamese - English