Questions tagged [xamarin-binding]
96 questions
0
votes
0 answers
Xamarin Android Binding Library is not abstract
I have created a xamarin android binding library (https://github.com/ScarlettCode/ChipDna) and I've got one error I'm trying to solve.
If I remove the node then there isn't an error but ideally I'd like to fix the main error without removing the…

Michael Esteves
- 1,445
- 3
- 21
- 38
0
votes
1 answer
Runtime Error while using payu-custom-browser Xamarin Android Binding Library Says CBActivity : You need to use a Theme.AppCompat theme
I am integrating PayU Payment gateway in My Xamarin forms application. So I have converted all the given Libraries using Xamarin Binding Libs.
I am getting this erron when click on pay Button
Java.Lang.RuntimeException: 'Unable to start activity…
0
votes
1 answer
Binding value is not updating on entry control from other xaml
I have an entry control in my XAML where I set the initial value on page appear through data binding. Initially the value is appearing but when I am updating it from another view model it is not getting updated on UI.
Below is the XAML code and…

Zeeshan shaikh
- 341
- 1
- 5
- 24
0
votes
1 answer
Errors while binding a library with Java annotations
Fellow developers,
I'm binding this library:
https://github.com/leinardi/FloatingActionButtonSpeedDial
But I have faced two issues while generating the control:
The first one, I had an idea how to do it I added the following code in the…

Federico Navarrete
- 3,069
- 5
- 41
- 76
0
votes
0 answers
How to add a method to a Binding Library in Xamarin.Android?
I've been fixing a library in Xamarin.Android:
https://stackoverflow.com/a/56778629/2889347
However, I found that an important method is missing in my code:
/**
* Sets a custom adapter for suggestions list view.
*
* @param suggestionAdapter…

Federico Navarrete
- 3,069
- 5
- 41
- 76
0
votes
2 answers
Error CS0115 '...OnBindViewHolder(Object, int)': no suitable method found to override
I'm binding this library:
https://github.com/mancj/MaterialSearchBar
And generally, it works, however, I have an issue when I try to add the support of the RecyclerView, I added the following libraries:
And I got the following errors:
I tried to…

Federico Navarrete
- 3,069
- 5
- 41
- 76
0
votes
0 answers
Double pointer to Xamarin.iOS NSMutableArray becomes null in Objective C layer
I am trying to pass a reference of an NSMutableArray from Xamarin.iOS which becomes null in Objective C layer.
Xamarin.iOS application
NSMutableArray arraySample = new NSMutableArray();
IntPtr availableHandle = arraySample.Handle;
var result…

S.D.Adrian
- 11
- 3
0
votes
1 answer
setting up a simple component with data binding
I am trying to set up a component with data binding. This is basically a seperate content view that would have a property Item of type Item and supports binding. The following is the definition for the binding:
public static readonly…

Neville Nazerane
- 6,622
- 3
- 46
- 79
0
votes
0 answers
DataTemplate with bindable component
I have a ListView with a data template. I am trying to have a custom component that supports binding for the content of the data template.
Here is the ListView in the page:
…

Neville Nazerane
- 6,622
- 3
- 46
- 79
0
votes
0 answers
Generated Bindings Remove Generics
I am trying to bind an abstract class that uses generics:
public abstract class ResponseCallback
{
public ResponseCallback() {}
public abstract void onResponse(Response paramResponse);
public abstract void onError(int paramInt, String…

David Pilkington
- 13,528
- 3
- 41
- 73
0
votes
2 answers
Getting invalid opcode ba error while building Android project in Xamarin
I'm trying to build a Xamarin Forms application while building/deploying the application i'm getting this error
Tried setting minsdk to 26 as well,did not work and I have a few Native Bindings as well, would that make any difference ??
I'm kinda…

Venky
- 1,929
- 3
- 21
- 36
0
votes
0 answers
Xamarin iOS AppNexus Binding - `type could not be found`
I have created my binding and resolved all issues with my ApiDefinition and Structs classes.
However when I compile the project, the generated .g files all complain about any types outside the class can not be found.
I have created a test project to…

c.lamont.dev
- 693
- 1
- 6
- 14
0
votes
1 answer
Error while trying to create a android native binding (implementing interface)
So i'm trying to build a c# binding from a Android AAR, and i was following this guide https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/binding-an-aar/
But i'm running into an error like this
Severity Code …

Venky
- 1,929
- 3
- 21
- 36
0
votes
0 answers
how to change variable name when converting jar to DLL?
Basically when i am converting an AAR to DLL there is same method name and variable name present in java code.
Means java class is implementing interface runnable, so default method of runnable is run. And also the class contain same name as run of…

kalpesh mishra
- 1
- 1
0
votes
0 answers
Xamarin binding of Android library(AAR)
I want to use https://www.dsphotoeditor.com/ library in xamarin Android. For that I have created a binding project. I know how to create binding, I have already do it for sinch library. But for https://www.dsphotoeditor.com/, I am not able to solve…

tajinder singh
- 113
- 1
- 10