add missing APIs related to scrolling

This commit is contained in:
Julian Winkler
2023-11-11 11:45:01 +01:00
parent 4bf4887244
commit 1a039e5e51
4 changed files with 35 additions and 3 deletions

View File

@@ -1291,6 +1291,7 @@ public class View extends Object {
}
public void addOnLayoutChangeListener(OnLayoutChangeListener listener) {}
public void removeOnLayoutChangeListener(OnLayoutChangeListener listener) {}
public boolean isSelected() {return false;}
@@ -1560,4 +1561,12 @@ public class View extends Object {
protected int computeHorizontalScrollExtent() {
return getWidth();
}
protected int computeVerticalScrollRange() {
return getHeight();
}
protected int computeVerticalScrollExtent() {
return getHeight();
}
}