How do I pass entry parameters to Xamarin MVVM viewmodel

前端 未结 2 1932
猫巷女王i
猫巷女王i 2021-01-14 06:25

I was looking for the best way to pass entry parameters (username, password) to Xamarin MVVM viewmodel by clicking a button(in the view) with command parameters.

2条回答
  •  失恋的感觉
    2021-01-14 06:45

    This repo might be helpful for you

    https://github.com/deanilvincent/Xamarin-Forms-Simple-MVVM-Login

    If you're new to MVVM in xamarin forms, this link might be helpful for you as well.

    Basic Understanding How Data Binding and MVVM works in Xamarin Forms

提交回复
热议问题