OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:article
(Results
1 - 2
of
2
) sorted by null
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
ArticleActivity.java
24
* Activity that displays a particular news
article
onscreen.
27
* which case this separate activity is shown in order to display the news
article
. This activity
29
* in that case the news
article
will be displayed by the {@link NewsReaderActivity} and this
33
// The news category index and the
article
index for the
article
we are to display
39
* Setting up the activity means reading the category/
article
index from the Intent that
60
// Display the correct news
article
on the fragment
61
NewsArticle
article
= NewsSource.getInstance().getCategory(mCatIndex).getArticle(mArtIndex);
local
62
f.displayArticle(
article
);
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
ArticleFragment.java
34
// the previous
article
selection set by onSaveInstanceState().
51
// below that sets the
article
text.
54
// Set
article
based on argument passed in
57
// Set
article
based on saved instance state defined during onCreateView
63
TextView
article
= (TextView) getActivity().findViewById(R.id.
article
);
local
64
article
.setText(Ipsum.Articles[position]);
72
// Save the current
article
selection in case we need to recreate the fragment
Completed in 57 milliseconds