Category "mvvm"

Combining Two Flows and add them to temporary list of StateFlow(Hot Flows)

I m getting data from two End points using flows and assigning those two list to temporary list in ViewModel. For this purpose, I'm using combine function and r

WPF : How to bind a string to Dynamic resource for a label content

I am new to WPf and MVVM. I have Dynamic language change functionality in my wpf application. For this functionality I have 2 Resource dictionary for each langu

Do not want to show all datatypes in listview, is there a chance to hide some datatypes?

I want to show just tree dataypes in my list view.(GeometryNode, ToolNode and StockNode). But my item source has 5 dataypes. How can I filter this datatypes? My

WPF Binding in textblock does not work but in its tooltip does

I have a weird issue. In my application (witten with C# .net framework 4.8 with Microsoft's MVVM toolkit) I have a ListView bound to a BindingList<VisualMach

WPF Textbox Validation Error binded to Variable

In a .xaml file, I have a number of Textbox objects that are linked to data paths as such: <TextBox Text="{Binding Path=Var1}"> These variables (like Var

Injecting a single dependency to a view model

I want the LoginViewModel to have a single dependency of LoginViewModelService. 
LoginViewModelService in itself cannot have an implementation. Its method

Data retrieving from Database Crashes when in MVVM with the Error Could not Connect To Firestore

I am trying to call data from Firebase and map it to data class while using MVVM but Its showing me errors saying failed to Connect The code of Repository Imple

'No connection string named 'IICMDATAEntities' could be found in the application config file.' EF6 - Revit Add-in

am build file .dll Revit Add-in has Entity Framework 6 and my errors enter image description here Help me

Usecase inside a custom view

First of all, sorry for my english, this is google translator. I am learning mvvm, maybe I have some misconception but I think I can understand it well. My goal

How can I change IsInDesignMode to use it in Microsoft.Toolkit.MVVM?

This time I must be migrate MVVMLight and replace it with Microsoft.Toolkit.MVVM. In the documentation is written there's no direct replacement for IsInDesignMo

Getting index of selected item in a ListView while WPF MVVM pattern is used

I want to get selected Item from ListView. My view is: <ListView Name="StudentGrid" Grid.Row="1" Margin="1,1,1,1" ItemsSource="{Binding studentList}" Selecte

Change to array triggers change in other object

I am currently working on a chess game and I want to implement a Redo button. The way i am doing this is, that the I have a list of GameStateContainer class whi

MVVM Bindings doesnt update with PropertyChanged

All my bindings are not updated and I don't understand why My Model is: Public Class TestModel Implements INotifyPropertyChanged Public Event PropertyC

MVVM in TableView Cell

hope you're well, i am working on an app which uses TableView for showing feeds to user using ViewModel and my ViewModel contains a variable which contains data

QT QML + C++ MVVM

As far as I know in QT QML is not possible to instantiate a C++ class in QML Component, unless it is a QQuickItem. I would not like to put all ViewModels on Vie

Can't see anything on the Xamarin ListView (DataBinding - MVVM)

I tried to use some DataBindings on the listview but nothing is listed. Model.cs public class Post { // Columns inside of the Database table [PrimaryKe

How do I fill a datagrid in my View with my datatable in my ViewModel

I am working on an MVVM WPF Application managing Users. I want to display all users from the Users Table in a datagrid in my UsersView. Here is my dataGrid

How to perform a correct binding using wpf MVVM

I'm working on a bank application in c# wpf using the MVVM pattern which allows a manager in charge of a branch to display the data of one of the customers of t

Detect Adapter onclick Listener method in activity using Entrypoints Dagger hilt

I need a help to detect adapter onclick event in activity class with the help of dagger hilt. Step1 : I have created one interface class which name is ItemClick

Android ViewModel - "by activityViewModels" called before "by viewModels"

After some time away from android development I'm trying to start again with a simple project. I've created a new project picking the "basic activity" option wh