Lines Matching refs:position
97 public final int getItemViewType(int position) {
101 return usesSmallLayout(position)
106 * Used to indicate the layout used for the Drawer item at given position. Subclasses can
109 * @param position Adapter position of item.
110 * @return Whether the item at this position will use a small layout (default) or normal layout.
112 protected boolean usesSmallLayout(int position) {
123 public final void onBindViewHolder(DrawerItemViewHolder holder, int position) {
130 populateViewHolder(holder, position);
139 protected abstract void populateViewHolder(DrawerItemViewHolder holder, int position);