Forum Xamarin.Android

Attaching an Event Handler for a Scrollview's ScrollChange event has a ClassNotFoundException

samofwisesamofwise AUMember
edited August 2016 in Xamarin.Android

Im trying to attach an event handler to the ScrollChange event of a Scroll view and it throws the following error:

Java.Lang.ClassNotFoundException: Didn't find class "" on path: DexPathList[[zip file "/data/app/Hd.Mobile.Hd.Mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/Hd.Mobile.Hd.Mobile-1/lib/arm, /vendor/lib, /system/lib]]

This is what my code looks like:

protected override void OnCreate(Bundle savedInstanceState)
    FindViewById<ScrollView>(Resource.Id.scrollview).ScrollChange += Scrollview_ScrollChange;
private void Scrollview_ScrollChange(object sender, Android.Views.View.ScrollChangeEventArgs e)
    var t = 0;

Please Help :D

Sign In or Register to comment.