Files
rr3-apk/decompiled/sources/androidx/recyclerview/widget/LayoutState.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

38 lines
1.3 KiB
Java

package androidx.recyclerview.widget;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
/* loaded from: classes.dex */
class LayoutState {
static final int INVALID_LAYOUT = Integer.MIN_VALUE;
static final int ITEM_DIRECTION_HEAD = -1;
static final int ITEM_DIRECTION_TAIL = 1;
static final int LAYOUT_END = 1;
static final int LAYOUT_START = -1;
int mAvailable;
int mCurrentPosition;
boolean mInfinite;
int mItemDirection;
int mLayoutDirection;
boolean mStopInFocusable;
boolean mRecycle = true;
int mStartLine = 0;
int mEndLine = 0;
public boolean hasMore(RecyclerView.State state) {
int i = this.mCurrentPosition;
return i >= 0 && i < state.getItemCount();
}
public View next(RecyclerView.Recycler recycler) {
View viewForPosition = recycler.getViewForPosition(this.mCurrentPosition);
this.mCurrentPosition += this.mItemDirection;
return viewForPosition;
}
public String toString() {
return "LayoutState{mAvailable=" + this.mAvailable + ", mCurrentPosition=" + this.mCurrentPosition + ", mItemDirection=" + this.mItemDirection + ", mLayoutDirection=" + this.mLayoutDirection + ", mStartLine=" + this.mStartLine + ", mEndLine=" + this.mEndLine + '}';
}
}