Skip to main content

All Questions

Tagged with
0 votes
1 answer
38 views

xamarin android binding enum with more than data property

I have a java library that I want to bind to in Xamarin. The library contains an enum with more than one property, defined below: public enum WriteType { WITH_RESPONSE(WRITE_TYPE_DEFAULT, ...
alsaleem's user avatar
  • 387
0 votes
2 answers
41 views

Xamarin - Binding ListView children to custom list properties

I've got an issue with binding to a listview. ViewModel: public class MainPageViewModel : INotifyPropertyChanged { public MainPageViewModel() { } private ObservableCollection<...
Mike's user avatar
  • 67
0 votes
1 answer
245 views

How can I add 'androidx/datastore/preferences/core/PreferencesKeys' to my Xamarin.Android project

I'm working with Xmarin.Forms and needed to consume some native 3rd parties into my project. I've managed to create the binding projects and go through the setup with minimal problems. The 3rd party ...
Paulo David's user avatar
1 vote
1 answer
83 views

Xamarin - CollectionView bind on ObservableCollection issue

I'm experiencing a really strange issue trying to print an observableCollection of object in a CollectionView. I want to have a grid of 42 block and in each one print a number from 1 to 42. When I ...
Benjamin Dagbert's user avatar
2 votes
2 answers
3k views

How do I ensure Xamarin/MAUI ViewModel data has loaded before the UI attempts to consume it?

In my application, I request a collection of vehicles back from a REST API and store them to a property. This is done using an async task. My page consumes this with a picker which binds to this ...
Lazy Turtle's user avatar
2 votes
2 answers
1k views

.net maui Binding Property not found in viewmodel

I wanted to bind the command of the FAB button to the OnFabTapped command using the viewmodel, instead of the code behind (.xaml.cs). But it doesn't seem to work. I have the following code: I have an ...
Matteo Holvoet's user avatar
0 votes
2 answers
563 views

Binding MicroCharts in Xamarin

I tried to make a chart with MicroChart, by LearnTechnologies youtube tutorial (https://www.youtube.com/watch?v=O6xhZkJa7H4&t=1s), but for me it's not working. I tried to do it completely based on ...
Krink's user avatar
  • 25
0 votes
1 answer
132 views

Problem with binding base64 to ffimageloading:CachedImage

I have a problem with creating stacklayout, which contains image created from base64string, downloaded from database. Example of image declare: In ViewModel: public string ImageString {get; set;} = &...
slodki1997's user avatar
0 votes
2 answers
712 views

In Xamarin.Forms, how to Bind to list of custom class, for ListView and print custom class properties?

In .xaml file I am trying to bind to a listed custom class as ObeservableCollection object. I can successfully update my variables and get the ObservableCollection updated. I can check it rendering it ...
Michele Rava's user avatar
0 votes
2 answers
354 views

Decompose huge legacy ViewModels/Views and implement immutability

In our app there are some pretty horrible ViewModels and Fragments that now we need to refactor. They are huge and should be decomposed of course. But proper way of decomposition isn't apparent to me( ...
stone-w4tch3r's user avatar
0 votes
1 answer
155 views

Xamarin Android Binding of Razorpay 1.6.26 (AAR) giving error

I am making Xamarin Android Binding library of Razorpay 1.6.26 using AAR (https://repo1.maven.org/maven2/com/razorpay/checkout/1.6.26/checkout-1.6.26.aar) but its giving error due to a parameter type ...
seopower's user avatar
  • 137
0 votes
0 answers
415 views

CS0102 The type 'X' already contains a definition for 'PageScrolled' Xamarin android binding

Currently trying to bind an aar file. I've used the following lines to make changes, but to no avail. <attr path="/api/package[@name='com.shopgun.android.viewpager']/interface[@name='...
Kay's user avatar
  • 13
0 votes
0 answers
121 views

Binding Mixpanel for Xamarin.iOS, issues with objective-c category type

I am trying to update my Xamarin Mixpanel iOS bindings that I have here. While updating I figured I'd try re-enable a thing I had disabled before I continue to roll out updates all the way to the ...
Brad Moore's user avatar
3 votes
0 answers
485 views

Xamarin.iOS: Binding project doesn't find types

I followed the instructions to create a new binding project: Create the iOS binding project. Added a "Native Reference" via Visual Studio. Created APIDefinition.cs using Objective Sharpy. ...
Saqib's user avatar
  • 7,432
0 votes
1 answer
158 views

Pull SQL varbinary(max) to Xamarin image

I have a Xamarin application that reads images from a SQL Server database, the column that holds the image data index is 4. I have created a class that contain a member called image, which is an Image ...
Abed ElHameed Jaber's user avatar

15 30 50 per page
1
2 3 4 5
32