Hi this is the Android renderer code it works perfect in older Xamarin Forms but in 2.0 iam getting error at line 2 "Object Reference Not to set of instance of Object"
_scrollView = (HorizontalScrollView)typeof (ScrollViewRenderer)
.GetField ("hScrollView", BindingFlags.NonPublic | BindingFlags.Instance)
.GetValue (this);
_scrollView.HorizontalScrollBarEnabled = false;
_scrollView.Touch += HScrollViewTouch;
Please guide me if someone has the solution.
Thanks