Java Code Examples for android.support.v7.widget.RecyclerView#OnChildAttachStateChangeListener

The following examples show how to use android.support.v7.widget.RecyclerView#OnChildAttachStateChangeListener . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RecyclerWidget.java    From relight with Apache License 2.0 4 votes vote down vote up
public RecyclerWidget<V> addOnChildAttachStateChangeListener(@NonNull RecyclerView.OnChildAttachStateChangeListener listener) {
    view.addOnChildAttachStateChangeListener(listener);
    return self();
}
 
Example 2
Source File: RecyclerWidget.java    From relight with Apache License 2.0 4 votes vote down vote up
public RecyclerWidget<V> removeOnChildAttachStateChangeListener(@NonNull RecyclerView.OnChildAttachStateChangeListener listener) {
    view.removeOnChildAttachStateChangeListener(listener);
    return self();
}
 
Example 3
Source File: RecyclerViewHeader.java    From RecyclerViewHeader with Apache License 2.0 4 votes vote down vote up
public final void setOnChildAttachListener(RecyclerView.OnChildAttachStateChangeListener onChildAttachListener) {
    clearOnChildAttachListener();
    this.onChildAttachListener = onChildAttachListener;
    recyclerView.addOnChildAttachStateChangeListener(this.onChildAttachListener);
}
 
Example 4
Source File: IRecyclerView.java    From tenor-android-core with Apache License 2.0 2 votes vote down vote up
/**
 * @since v22.2.0
 */
void removeOnChildAttachStateChangeListener(RecyclerView.OnChildAttachStateChangeListener listener);
 
Example 5
Source File: IRecyclerView.java    From tenor-android-core with Apache License 2.0 votes vote down vote up
void addOnChildAttachStateChangeListener(RecyclerView.OnChildAttachStateChangeListener listener);