You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
View: requestLayout: post with Looper to avoid stack exhaustion
This commit is contained in:
@@ -1631,7 +1631,12 @@ public class View extends Object {
|
||||
}
|
||||
|
||||
public void forceLayout() {
|
||||
requestLayout();
|
||||
new Handler(Looper.getMainLooper()).post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
requestLayout();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void removeOnAttachStateChangeListener(OnAttachStateChangeListener listener) {}
|
||||
|
||||
Reference in New Issue
Block a user