content: package ak.sh.ay.app;
  
  import android.content.Context;
  import android.os.Bundle;
  
  import androidx.appcompat.app.AppCompatActivity;
  import androidx.viewpager.widget.ViewPager;
  
  import ak.sh.ay.app.adapters.SectionsPagerAdapter;
  import me.relex.circleindicator.CircleIndicator;
  import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper;
  
  public class SampleTwoActivity extends AppCompatActivity {
  
      private SectionsPagerAdapter mSectionsPagerAdapter;
  
      private ViewPager mViewPager;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          Utils.hideStatusbar(this);
          setContentView(R.layout.activity_sample2);
          mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());
          mViewPager = (ViewPager) findViewById(R.id.container);
          CircleIndicator indicator = (CircleIndicator) findViewById(R.id.indicator);
          mViewPager.setAdapter(mSectionsPagerAdapter);
          indicator.setViewPager(mViewPager);
      }
  
  
      @Override
      protected void attachBaseContext(Context newBase) {
          super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
      }
  
  
      @Override
      protected void onResume() {
          super.onResume();
          Utils.hideStatusbar(this);
      }
  
  
  }
  