public class FullScreenImageActivity
extends android.support.v7.app.AppCompatActivity
Modifier and Type | Class and Description |
---|---|
static class |
FullScreenImageActivity.PlaceholderFragment
A placeholder fragment containing a simple view.
|
class |
FullScreenImageActivity.SectionsPagerAdapter
A
FragmentPagerAdapter that returns a fragment corresponding to
one of the sections/tabs/pages. |
Modifier and Type | Field and Description |
---|---|
private FullScreenImageActivity.SectionsPagerAdapter |
mSectionsPagerAdapter
The
PagerAdapter that will provide
fragments for each of the sections. |
private android.support.v4.view.ViewPager |
mViewPager
The
ViewPager that will host the section contents. |
Constructor and Description |
---|
FullScreenImageActivity() |
Modifier and Type | Method and Description |
---|---|
protected void |
onCreate(Bundle savedInstanceState) |
boolean |
onCreateOptionsMenu(Menu menu) |
boolean |
onOptionsItemSelected(MenuItem item) |
addContentView, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onDestroy, onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onSaveInstanceState, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTask
dump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, getSupportMediaController, onActivityResult, onAttachFragment, onBackPressed, onCreatePanelMenu, onKeyDown, onLowMemory, onNewIntent, onPause, onPrepareOptionsPanel, onPreparePanel, onRequestPermissionsResult, onResume, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStart, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, setSupportMediaController, startActivityForResult, startActivityFromFragment, startActivityFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCode
private FullScreenImageActivity.SectionsPagerAdapter mSectionsPagerAdapter
PagerAdapter
that will provide
fragments for each of the sections. We use a
FragmentPagerAdapter
derivative, which will keep every
loaded fragment in memory. If this becomes too memory intensive, it
may be best to switch to a
FragmentStatePagerAdapter
.private android.support.v4.view.ViewPager mViewPager
ViewPager
that will host the section contents.