0

I have a Layout which load a FragmentPagerAdapter with 3 Pages.

Simple problem, I can't find any View with findViewById, and I have been searching around for 2 days can't find the solution for this :(

Did I miss anything here?

Any good example to follow?

Thanks In Advance.

s k
  • 4,342
  • 3
  • 42
  • 61
  • Dear All, I finally know my mistakes. Fragments are created much later than any other views :( – s k Jun 06 '13 at 02:46
  • The findViewById method belongs to the activity. Fragments have a different lifecycle that is not neccesarly tied up to the activity lifecycle. Fragment views are not accesible from the activity. – Robert Estivill Jun 06 '13 at 03:47

0 Answers0