Broken inheritance hierarchy when using Pixate within Xamarin.Android app -
i'm trying add pixate our cross-platform app built xamarin.
in android app i'm using custom listview , custom adapter implements interface. when adapter property of list view being set custom adapter base class java.lang.object instead of baseadapter , not implement interface anymore (cast cause exception).
anyone had similar issue pixate ? how fix ?
i've answered 1 on github repo, here copy-paste of that.
pixate work on adapterviews proxying them in order tag recycled views new position (see https://github.com/pixate/pixate-freestyle-android/blob/master/pixate-freestyle/src/com/pixate/freestyle/pxhierarchylistener.java#l232 ). allows style more complex css expressions, "nth-child" on list. currently, java.lang.reflect.proxy being created few known adapter interfaces, casting fail if original baseadapter.
the news have way original adapter via pixatefreestyle.getadapter(adapterview view). can cast baseadapter. should not cause problem.
Comments
Post a Comment