I'm trying to implement custom DialogPreference
, whose layout will use fragments. An app should support API 10
(which does not natively support fragments).
In order to work with fragments I need to get an instance of the android.support.v4.FragmentManager
(normally usually being received from support FragmentActivity using getSupportFragmentManager
).
I have no idea how to get android.support.v4.FragmentManager
within DialogPreference. Any clue is appreciated.