mvvmcross Questions

3

I'm binding the title of my Xamarin.Forms.ContentPage to a property BuggyTitle in my view model (VM). The VM derives from MvxViewModel. Here's the simplified version: BuggyPage.xaml: <?xml ver...
Istanbul asked 5/11, 2017 at 3:39

5

Solved

I create android app with xamarin + mvvmcross. I have an MvxAutoCompleteTextView in my MvxFragment. After writing in the MvxAutoCompleteTextView and clicking on the others controls, I want to hide ...
Samhita asked 18/6, 2015 at 15:52

3

I'm trying to follow the code at the end of this video here, but I'm getting this error around the 1:11:10 mark: error CS0310: 'MvxWpfSetup<App>' must be a non-abstract type with a public par...
Tullus asked 14/6, 2021 at 5:56

4

Solved

Consider the following example. I have three view models, ViewModel_A, ViewModel_B, and ViewModel_Values. I want to be able to navigate to ViewModel_Values from either ViewModel_A or ViewModel_B, ...
Coh asked 1/5, 2017 at 22:52

2

Solved

I have a weird bug in my MVVMCross app. Considering the following scenario: <Switch android:layout_width="wrap_content" android:layout_height="wrap_content" android:focusable="false" andro...
Tailback asked 2/2, 2014 at 0:3

25

Solved

I have a Xamarin project, which is based on MvvmCross. The project is for both iOS and Android. I opened this project in Visual Studio 15. I got some errors, which I solved in no time. There are so...
Gebhart asked 24/4, 2017 at 9:29

3

Solved

I am using MVVMCross with my cross-platform Windows Phone and Android app. In the core project's main view model, I am doing some background work using TPL and I want to make sure that in the callb...
Liponis asked 12/2, 2014 at 13:54

4

Solved

I am attempting to bind to the text property of TitleLabel on a UIButton using MvvmCross for Xamarin.iOS. Here's what I have so far... set.Bind(btnFoo).For(btn => btn.TitleLabel.Text).To(vm =&g...
Orangery asked 27/6, 2013 at 0:25

3

Solved

I have the following implementation. And the default timeout is 100 seconds. I wonder how can I able to change the default timeout? HttpService.cs public class HttpService : IHttpService { pr...
Dialyser asked 8/1, 2018 at 18:21

2

Solved

I use Xamarin.Forms and MvvmCross, but I've encountered a problem in applications. Buttons become disabled sometimes after touched and running the commands. I added IsEnabled="True" to button but...
Heraldry asked 3/1, 2019 at 7:47

2

We are planning to go with Xamarin for our next big project. Seems like Xamarin.Forms is mature enough to use with production projects. But I still want to take input from you experts - should we g...
Gauche asked 19/7, 2016 at 5:35

2

I am trying to see Loading progress as follows, but it does not show up. View.cs ViewModel.SelectedCommand.Execute(null); ViewModel.cs public ICommand SelectedCommand { get { return new Mvx...
Foldaway asked 7/3, 2018 at 22:39

2

Solved

I'm building my first Xamarin MvvmCross application at the moment and I'm currently looking at validating user input to the view models. Doing a lot of searching around everything (including the M...
Erie asked 11/6, 2015 at 10:54

1

Interesting (at least for me) bug I found there. I am making an (prototype) app, it does some web requests and returns simple data. There is ObservableCollection<DownloadbleEntity> which is...
Screak asked 9/12, 2017 at 11:53

10

This is my first Xamarin android project with MVVMCross. Started from scratch. The project builds without any errors but when i try to debug it, i get a build failed: MonoDroid does not support r...
Avrilavrit asked 5/2, 2014 at 15:50

1

The following MarkerClick implementation works, perfectly fine. I could be able to open other Views via ShowViewModel View.cs mMap.MarkerClick += MMap_MarkerClick; private void MMap_MarkerClick(ob...
Wellbalanced asked 10/3, 2017 at 22:26

1

Solved

I have a method I used in MvvmCross 4.x that was used with the NotificationCompat.Builder to set a PendingIntent of a notification to display a ViewModel when the notification is clicked by the use...
Titration asked 5/10, 2017 at 21:29

10

I have created one new project in Visual studio and only che in .xml file (put two frame layouts) and when i debug the code i have one error, please told me the solution Error 1 The "GenerateJavaS...
Greece asked 2/12, 2015 at 10:32

2

Solved

I'm trying using fire MvxCommand with CommandParameter, but faced with following problem: MyView.axml contains: <LinearLayout android:orientation="horizontal" android:layout_width="wrap_conte...
Hooligan asked 21/6, 2013 at 11:49

3

Solved

Currently I am working on a Xamarin Forms Android project using MvvmCross. I have a strange problem regarding the Frame. Whenever I set the OutlineColor, it is displayed only in iOS and not in Andr...
Kraska asked 12/4, 2016 at 15:2

1

Solved

We need to clear the navigation stack when navigating to certain pages in our Xamarin.Forms app on Android and iOS. There's an article by Greg Shackles here which describes how to do it - but this...
Tabbie asked 5/11, 2018 at 9:23

2

Solved

There is no support for adding badges to the BottomNavigationView in Android. How can I add a badge with a number to a specific tab in the BottomNavigationView. I need it to be done natively...
Alt asked 21/9, 2018 at 7:59

3

Solved

Is it possible to Bind Android TextView to Click event with MvvmCross? Or as alternative make a button which looks like TextView?
Quid asked 11/10, 2013 at 5:22

2

Solved

I have just started using MvvmCross, but i didn't find any info about to how i can execute UI code from a ViewModel. On Caliburn there are coroutine so i can access the view and keep the ui code ...
Ioyal asked 23/3, 2013 at 18:54

4

Solved

I upgraded my app to MvvmCross version 6.0. Now it get's to the splash screen and does nothing else. I can see the the Services are starting up by looking at the console. Here is my app.cs: public...
Unmixed asked 16/4, 2018 at 19:40

© 2022 - 2024 — McMap. All rights reserved.