Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public class Fragment2 extends Fragment
  2. {
  3. @BindView(R.id.fragment2_logo) ImageView mLogo;
  4. @BindView(R.id.fragment2_button) ImageButton mButton;
  5.  
  6. public Fragment2()
  7. {
  8. // Required empty public constructor
  9. }
  10.  
  11. public static Fragment2 newInstance()
  12. {
  13. return new Fragment2();
  14. }
  15.  
  16. @Override
  17. public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
  18. {
  19. View v = inflater.inflate(R.layout.fragment2, container, false);
  20. if (v != null)
  21. {
  22. ButterKnife.bind(this, v);
  23. }
  24. return v;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement