Пример #1
0
  @Override
  public void initListener() {
    super.initListener();

    viewPagerImgs.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            finish();
          }
        });
  }
Пример #2
0
  @Override
  public void initView() {

    viewPagerImgs = (PViewPager) findViewById(R.id.frashowimgs_pager);
    if (imgUrls != null) viewPagerImgs.setAdapter(new ViewPagerShowImgsAdapter(this, imgUrls));
  }