0

I created some activity(say A, B and C) under TabActivity and use m_tabHost.setCurrentTab(n); to launch appropriate Activity. Here I activity(say A) get launch as per behaviour on-click of define tab(say TAB A). Now how can reload same activity on click of same tab. How can get access of same tab to reload same open activity.

Any one have suggestion/idea?

AndyFaizan
  • 1,833
  • 21
  • 30
CoDe
  • 11,056
  • 14
  • 90
  • 197
  • You want that if you click on Tab A (while it is open already), the activity in it would refresh? – AndyFaizan Mar 02 '14 at 18:00
  • yes...exactly same...and reason to do it..I am opening different page inside that activity...based on some other conditions..any suggestion? – CoDe Mar 02 '14 at 18:34
  • Whats your motive? Why are you trying to do that? – AndyFaizan Mar 03 '14 at 09:24
  • I am using PageViewer inside Activity...n depend on condition I set page inside activity..now if user click on Tab again then it should reset view pager to first position. – CoDe Mar 03 '14 at 09:36

0 Answers0