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
implement View.getLocationInWindow() and MotionEvent.offsetLocation()
This is needed for NestedScrollViews to detect and correct parent scroll offset
This commit is contained in:
@@ -1115,7 +1115,9 @@ public class View extends Object {
|
||||
return new IBinder();
|
||||
}
|
||||
|
||||
public void getLocationInWindow(int[] xxx) {}
|
||||
public void getLocationInWindow(int[] location) {
|
||||
getLocationOnScreen(location);
|
||||
}
|
||||
|
||||
public void addOnAttachStateChangeListener(OnAttachStateChangeListener l) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user