Home | History | Annotate | Download | only in com.example.android.slidingtabsbasic

Lines Matching refs:position

115          * Return the title of the item at {@code position}. This is important as what this method
118 * Here we construct one using the position value, but for real application the title should
122 public CharSequence getPageTitle(int position) {
123 return "Item " + (position + 1);
128 * Instantiate the {@link View} which should be displayed at {@code position}. Here we
129 * inflate a layout from the apps resources and then change the text view to signify the position.
132 public Object instantiateItem(ViewGroup container, int position) {
141 title.setText(String.valueOf(position + 1));
143 Log.i(LOG_TAG, "instantiateItem() [position: " + position + "]");
154 public void destroyItem(ViewGroup container, int position, Object object) {
156 Log.i(LOG_TAG, "destroyItem() [position: " + position + "]");