• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to clear singleton class fields  RSS feed

Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have list of menus below the title bar and it have menus like

All Article | Top10 |

when i select All Article menu it parse and list the data and below the last list row i have button to load more data in list,for that purpose i used singleton class when i click the Top10 menu i have to do the same but here i need to clear the singleton class fields,i tried to set singleton class instance to be null in clear() ,but it doesn't clear the field values again it shows the All Article list data,i never used individual activity for each menu,all i'm doing in same activity.

Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!