android - PreferenceActivity onHeaderClick() doesn't work -


i have been using holoeverywhere's preferenceactivity while. importing slidingmenu library , has been going far until extended slidingmenu's slidingpreferenceactivity:

import com.jeremyfeinstein.slidingmenu.lib.slidingmenu; import com.jeremyfeinstein.slidingmenu.lib.app.slidingpreferenceactivity;  public class settingsactivity extends slidingpreferenceactivity{ ... 

and

import com.jeremyfeinstein.slidingmenu.lib.slidingmenu; import org.holoeverywhere.preference.preferenceactivity;  public class slidingpreferenceactivity extends preferenceactivity implements         slidingactivitybase { ... 

in settingsactivity load header's show top level categories.

my problem onheaderclick() no longer working. trace way through , cannot find error. following stack trace see holoeverywhere ends making intent passes android activity, don't see wrong.

what slidingmenu library cause fragments stop working in preferenceactivity?

turns out problem had nothing slidingmenu. in manifest set activitys singleinstance, not making multiple of same activity when navigating between them using slidingmenu. preventing intent created preferenceactivity when header clicked recreating activity given fragment.

i removed singleinstance reference , working.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -