Viewpager

  @BindView(R.id.viewPager_item2)
    ViewPager viewPager;
    @BindView(R.id.button1_item2)
    Button button1;
    @BindView(R.id.button2_item2)
    Button button2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initView();

    }

    private void initView() {
        initToolBar(findViewById(R.id.toolbar), true, getString(R.string.item2));
        //button list
        List
  
    
        

你可能感兴趣的:(Viewpager)