Prevent crash

This commit is contained in:
M66B
2024-01-18 14:18:00 +01:00
parent e425c8ddce
commit b9513b0552

View File

@@ -196,4 +196,24 @@ public class FixedRecyclerView extends RecyclerView {
*/
}
}
@Override
public boolean post(Runnable action) {
return super.post(new RunnableEx("post") {
@Override
protected void delegate() {
action.run();
}
});
}
@Override
public boolean postDelayed(Runnable action, long delayMillis) {
return super.postDelayed(new RunnableEx("postDelayed") {
@Override
protected void delegate() {
action.run();
}
}, delayMillis);
}
}