Revert "Attempt to workaround recycler view / accessibility crash"

This reverts commit 9635fd58f6.
This commit is contained in:
M66B 2019-08-11 12:16:16 +02:00
parent b83946cf12
commit 355339d3cf
2 changed files with 1 additions and 4 deletions

View File

@ -168,7 +168,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
def appcompat_version = "1.1.0-rc01" def appcompat_version = "1.1.0-rc01"
def recyclerview_version = "1.1.0-beta02" def recyclerview_version = "1.1.0-beta01"
def coordinatorlayout_version = "1.1.0-beta01" def coordinatorlayout_version = "1.1.0-beta01"
def constraintlayout_version = "2.0.0-beta2" def constraintlayout_version = "2.0.0-beta2"
def material_version = "1.1.0-alpha07" def material_version = "1.1.0-alpha07"

View File

@ -30,17 +30,14 @@ import androidx.recyclerview.widget.RecyclerView;
public class FixedRecyclerView extends RecyclerView { public class FixedRecyclerView extends RecyclerView {
public FixedRecyclerView(@NonNull Context context) { public FixedRecyclerView(@NonNull Context context) {
super(context); super(context);
setAccessibilityDelegateCompat(null);
} }
public FixedRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs) { public FixedRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs) {
super(context, attrs); super(context, attrs);
setAccessibilityDelegateCompat(null);
} }
public FixedRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) { public FixedRecyclerView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle); super(context, attrs, defStyle);
setAccessibilityDelegateCompat(null);
} }
@Override @Override