Bug 16592 - Binding not working as expected
Summary: Binding not working as expected
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.8.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2013-12-04 11:14 UTC by Matthijs Koopman
Modified: 2013-12-05 10:58 UTC (History)
1 user (show)

Tags: binding
Is this bug a regression?: ---
Last known good build:


Attachments
Testcase that contains both a working java sample and a broken xamarin android sample (1.91 MB, application/zip)
2013-12-04 11:14 UTC, Matthijs Koopman
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Matthijs Koopman 2013-12-04 11:14:20 UTC
Created attachment 5602 [details]
Testcase that contains both a working java sample and a broken xamarin android sample

We have been working on a binding project for the Deezer Mobile SDK (Android).

We managed to get the binding working, but when testing a sample project the results from the exact same code in a java sample are not the same as the results we see in the Xamarin.Android project using the binding.

The attachment contains two samples:

1) The working java sample (android-java-sample.zip)

Please take a look at the following code located in:
android-java-sample/src/com/deezer/sdk/sample/ShowRadiosActivity.java >> line 168

[code]
AsyncDeezerTask radioCategoryLookupTask = new AsyncDeezerTaskWithDialog( this, deezerConnect, new RadioTracksLookupRequestHandler() );
DeezerRequest request = new DeezerRequest( "radio/"+radio.getId()+"/tracks&next=true" );
radioCategoryLookupTask.execute( request );
[/code]

When taking a look in the result (json) - returned to the callback handler - you will see a property called 'stream' for each track, this is what we expect to see.

2) The broken xamarin.android sample (monodroid-sample.zip)

Please take a look at the following code located in:
monodroid-sample/testapp/deezertestapp/activity1.cs >> line 65

[code]
DeezerRequest dzRequest = new DeezerRequest("radio/3721/tracks&next=true");
dzConnect.RequestAsync(dzRequest, dzRequestHandler);
[/code]

Now when taking a look at what should be the same json data - returned to the callback handler - you will see that the data isn't the same, yes the tracks are available but the property 'stream' property is missing in the track entries.