mono - MonoDroid - How to use DialogPreference? -
i trying implement dialogpreference subclassing dialogpreference class , declaring in preferences xml file.
when call addpreferencesfromresource in preferenceactivity system.notsupportedexception. cannot catch exception copy have couple of screen shots below of looks when exception thrown.
i have copied , coverted code dialogpreference here.
how can implemented in mono android?
this xml dialogpreference:
<preferencescreen xmlns:android="http://schemas.android.com/apk/res/android"> <preferencecategory android:title="opening odds"> <app.monodroid.timepickerpreference android:key="openoddstime" android:title="opening odds time" android:dialogmessage="time of day opening odds." android:defaultvalue=""> </app.monodroid.timepickerpreference> </preferencecategory> screenshots: 

t may wrong, i'm pretty sure ate missing constructor takes 2 arguments, intptr , android.runtime.jnihandleownership. think have override base constructor of wrappers.
Comments
Post a Comment