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
add more API stubs for NewPipe
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user