add more API stubs for NewPipe

This commit is contained in:
Julian Winkler
2023-09-19 23:22:21 +02:00
parent 2013024971
commit c830abc5f3
34 changed files with 310 additions and 23 deletions

View File

@@ -4,6 +4,8 @@ import android.content.Context;
import android.util.AttributeSet;
public abstract class CompoundButton extends Button {
private boolean checked;
public CompoundButton(Context context) {
super(context);
@@ -16,4 +18,12 @@ public abstract class CompoundButton extends Button {
public static interface OnCheckedChangeListener {}
public void setOnCheckedChangeListener(OnCheckedChangeListener listener) {}
public void setChecked(boolean checked) {
this.checked = checked;
}
public boolean isChecked() {
return checked;
}
}