Skip to content

Commit

Permalink
[Contactables] Fix InvalidCastException
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcollins committed Apr 14, 2015
1 parent 24729e3 commit 6c0a735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contactables/ContactablesLoaderCallbacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public Loader OnCreateLoader (int loaderIndex, Bundle args)

public void OnLoadFinished (Loader loader, Java.Lang.Object data)
{
ICursor cursor = (ICursor) data;
var cursor = data.JavaCast<ICursor> ();

TextView tv = ((Activity) mContext).FindViewById <TextView> (Resource.Id.sample_output);

Expand Down

0 comments on commit 6c0a735

Please sign in to comment.