blob: cf3a573d00a278f98e5947e2bd312226fb8f49de (
plain) (
tree)
|
|
package ml.docilealligator.infinityforreddit.customviews;
import android.content.Context;
import android.util.AttributeSet;
import androidx.recyclerview.widget.LinearLayoutManager;
public class LinearLayoutManagerBugFixed extends LinearLayoutManager {
public LinearLayoutManagerBugFixed(Context context) {
super(context);
}
public LinearLayoutManagerBugFixed(Context context, int orientation, boolean reverseLayout) {
super(context, orientation, reverseLayout);
}
public LinearLayoutManagerBugFixed(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
@Override
public boolean supportsPredictiveItemAnimations() {
return false;
}
public LinearLayoutManagerBugFixed setStackFromEndAndReturnCurrentObject() {
setStackFromEnd(true);
return this;
}
}
|