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
api-impl: add misc APIs needed for AntennaPod
This commit is contained in:
@@ -424,6 +424,8 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
|
||||
public boolean getClipToPadding() { return false; }
|
||||
|
||||
public boolean isTransitionGroup() { return false; }
|
||||
|
||||
public static class LayoutParams {
|
||||
public static final int FILL_PARENT = -1;
|
||||
public static final int MATCH_PARENT = -1;
|
||||
@@ -583,4 +585,28 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
public void onChildViewAdded(View parent, View child);
|
||||
public void onChildViewRemoved(View parent, View child);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNestedScrollAccepted(View child, View target, int nestedScrollAxes) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'onNestedScrollAccepted'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'onNestedPreScroll'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNestedScroll(View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'onNestedScroll'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStopNestedScroll(View target) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'onStopNestedScroll'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user