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 APIs needed for non legacy NewPipe version
This commit is contained in:
@@ -1,12 +1,32 @@
|
||||
package android.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public abstract class AdapterView extends ViewGroup {
|
||||
|
||||
public AdapterView(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public AdapterView(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet);
|
||||
}
|
||||
|
||||
public interface OnItemSelectedListener {
|
||||
}
|
||||
|
||||
public interface OnItemClickListener {
|
||||
}
|
||||
|
||||
public void setAdapter(SpinnerAdapter adapter) {
|
||||
}
|
||||
|
||||
public void setSelection(int i) {
|
||||
}
|
||||
|
||||
public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener) {}
|
||||
|
||||
public void setSelection(int position, boolean animate) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user