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: misc stubs for K-9 Mail
This makes the non composeUI parts of K-9 Mail mostly functional.
This commit is contained in:
@@ -6,6 +6,8 @@ import android.util.AttributeSet;
|
||||
|
||||
public class AutoCompleteTextView extends EditText {
|
||||
|
||||
private ListAdapter adapter;
|
||||
|
||||
public interface OnDismissListener {
|
||||
}
|
||||
|
||||
@@ -31,7 +33,13 @@ public class AutoCompleteTextView extends EditText {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void setAdapter(ListAdapter adapter) {}
|
||||
public void setAdapter(ListAdapter adapter) {
|
||||
this.adapter = adapter;
|
||||
}
|
||||
|
||||
public ListAdapter getAdapter() {
|
||||
return adapter;
|
||||
}
|
||||
|
||||
public void setThreshold(int threshold) {}
|
||||
|
||||
@@ -39,4 +47,10 @@ public class AutoCompleteTextView extends EditText {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getListSelection() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void performCompletion() {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user