4

I have gone through this documentation, and example1 ,example2 . this works fine with the activities but i want this functionality in fragment. I have timer in this fragments that i want to stop for interval when there is interaction with this fragment.

Community
  • 1
  • 1
Sumit
  • 152
  • 2
  • 11
  • what do you mean by `interaction with this fragment`. put your code. – maddy d Apr 09 '14 at 09:44
  • 1
    @maddy .. "interaction with this fragment" means if the user touched the screen , press the button in layout, scrolled the view......etc. i dont think there is need of code regarding this , because i tried this with activity and mentioned in the links, i just want to know is there any way to implements this in fragment. Any suggestions , most welcome. – Sumit Apr 09 '14 at 09:52
  • check [this](http://stackoverflow.com/questions/21267322/detecting-user-activity-in-android). it may be help you. – maddy d Apr 09 '14 at 09:58

0 Answers0