Lesincs / LazyInitFrag-Demo

ViewPager结合Tablayout,Fragment的懒加载实现demo演示。
9 stars 1 forks source link

Button and TextView #1

Open garwen22 opened 6 years ago

garwen22 commented 6 years ago

I want to do something in the fragment, how can i click the button and textview in the ragLazyInitTest(fragment)? thx !!!

Lesincs commented 6 years ago

在onViewCreated()方法中得到你布局中对应view的引用,然后设置onClickListener()就行啦