Question

On my google play error reporting page, there are error regarding NPE and it's only on tablets such as ASUS Transformer Pad TF300T and other Tablet S.

findPreference("setting").setOnPreferenceClickListener(

Is there anyway to make findPreference works on tablet?

Was it helpful?

Solution

I found the root of problem. Seems like tablet above 3.0 you have to put findPreference into each Fragment, not on the preferenceActivity. otherwise they crashed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top