Forum Xamarin.Android

Java reflection in xamarin android

I was facing WRAP_CONTENT not work on a RecyclerView , so I googled it and found the workaround. When I tried to implement the workaround in c#, I was stuck at this line:

insetsDirtyField = RecyclerView.LayoutParams.class.getDeclaredField("mInsetsDirty");

Here I tried to port the original java code,and ported code avilable in gist

also the same thread avilable in stackoverflow



Sign In or Register to comment.