Home
last modified time | relevance | path

Searched refs:ARG_POSITION (Results 1 – 2 of 2) sorted by relevance

/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DArticleFragment.java26 final static String ARG_POSITION = "position"; field in ArticleFragment
37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION); in onCreateView()
55 updateArticleView(args.getInt(ARG_POSITION)); in onStart()
73 outState.putInt(ARG_POSITION, mCurrentPosition); in onSaveInstanceState()
DMainActivity.java74 args.putInt(ArticleFragment.ARG_POSITION, position); in onArticleSelected()