VH
- the type parameterpublic abstract class EndlessAdapter<VH extends android.support.v7.widget.RecyclerView.ViewHolder>
104 | extends android.support.v7.widget.RecyclerView.Adapter<VH>
105 | Constructor and Description | 122 |
---|
EndlessAdapter() |
125 |
Modifier and Type | 139 |Method and Description | 140 |
---|---|
abstract void |
143 | fill(int quantity)
144 | Fill the dataset with enough items to meet the specified threshold.
145 | |
146 |
bindViewHolder, createViewHolder, getItemCount, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EndlessAdapter()183 |
public abstract void fill(int quantity)200 |
quantity
- the quantitypublic class EndlessListener
103 | extends android.support.v7.widget.RecyclerView.OnScrollListener
104 | Constructor and Description | 121 |
---|
EndlessListener(EndlessRecyclerView endlessRecyclerView)
124 | Instantiates a new Endless listener.
125 | |
126 |
Modifier and Type | 140 |Method and Description | 141 |
---|---|
void |
144 | onScrolled(android.support.v7.widget.RecyclerView recyclerView,
145 | int dx,
146 | int dy) |
147 |
onScrollStateChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EndlessListener(EndlessRecyclerView endlessRecyclerView)184 |
endlessRecyclerView
- the endless recycler viewpublic final void onScrolled(android.support.v7.widget.RecyclerView recyclerView, 203 | int dx, 204 | int dy)205 |
onScrolled
in class android.support.v7.widget.RecyclerView.OnScrollListener
public static interface EndlessRecyclerView.OnPopulationListener
94 | Modifier and Type | 111 |Method and Description | 112 |
---|---|
void |
115 | onPopulation(int quantity,
116 | EndlessRecyclerView.Orientation orientation)
117 | On population.
118 | |
119 |
void onPopulation(int quantity, 142 | EndlessRecyclerView.Orientation orientation)143 |
quantity
- the quantityorientation
- the orientationpublic static enum EndlessRecyclerView.Orientation 111 | extends java.lang.Enum<EndlessRecyclerView.Orientation>112 |
Enum Constant and Description | 129 |
---|
HORIZONTAL
132 | Horizontal orientation.
133 | |
134 |
VERTICAL
137 | Vertical orientation.
138 | |
139 |
Modifier and Type | 153 |Method and Description | 154 |
---|---|
static EndlessRecyclerView.Orientation |
157 | valueOf(java.lang.String name)
158 | Returns the enum constant of this type with the specified name.
159 | |
160 |
static EndlessRecyclerView.Orientation[] |
163 | values()
164 | Returns an array containing the constants of this enum type, in
165 | the order they are declared.
166 | |
167 |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final EndlessRecyclerView.Orientation HORIZONTAL204 |
public static final EndlessRecyclerView.Orientation VERTICAL214 |
public static EndlessRecyclerView.Orientation[] values()232 |
236 | for (EndlessRecyclerView.Orientation c : EndlessRecyclerView.Orientation.values()) 237 | System.out.println(c); 238 |
public static EndlessRecyclerView.Orientation valueOf(java.lang.String name)249 |
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullInterface | 73 |Description | 74 |
---|---|
EndlessRecyclerView.OnPopulationListener | 78 |
79 | The interface On population listener.
80 | |
81 |
Class | 90 |Description | 91 |
---|---|
EndlessAdapter<VH extends android.support.v7.widget.RecyclerView.ViewHolder> | 95 |
96 | Created by michaeldunn on 7/20/16.
97 | |
98 |
EndlessListener | 101 |
102 | Created by michaeldunn on 7/20/16.
103 | |
104 |
EndlessRecyclerView | 107 |
108 | Created by michaeldunn on 7/20/16.
109 | |
110 |
Enum | 119 |Description | 120 |
---|---|
EndlessRecyclerView.Orientation | 124 |
125 | The enum Orientation.
126 | |
127 |
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
72 |Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
84 |Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
104 |Each annotation type has its own separate page with the following sections:
108 |Each enum has its own separate page with the following sections:
119 |There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
137 |The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
141 |These links take you to the next or previous class, interface, package, or related page.
145 |These links show and hide the HTML frames. All pages are available with or without frames.
149 |The All Classes link shows all classes and interfaces except non-static nested types.
153 |Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
157 |The Constant Field Values page lists the static final fields and their values.
161 |