2023-08-22 14:41:01 +02:00
|
|
|
package android.widget;
|
|
|
|
|
|
|
|
import android.content.Context;
|
2024-08-05 17:17:53 +02:00
|
|
|
import android.graphics.drawable.Drawable;
|
2023-08-22 14:41:01 +02:00
|
|
|
import android.util.AttributeSet;
|
|
|
|
|
2024-03-16 12:49:28 +01:00
|
|
|
public class AutoCompleteTextView extends EditText {
|
2023-08-22 14:41:01 +02:00
|
|
|
|
2025-01-12 10:42:51 +01:00
|
|
|
private ListAdapter adapter;
|
|
|
|
|
2023-08-22 14:41:01 +02:00
|
|
|
public interface OnDismissListener {
|
|
|
|
}
|
|
|
|
|
|
|
|
public AutoCompleteTextView(Context context) {
|
|
|
|
super(context);
|
|
|
|
}
|
|
|
|
|
|
|
|
public AutoCompleteTextView(Context context, AttributeSet attributeSet) {
|
|
|
|
super(context, attributeSet);
|
|
|
|
}
|
|
|
|
|
2024-08-05 17:17:53 +02:00
|
|
|
public void setDropDownBackgroundDrawable(Drawable drawable) {}
|
|
|
|
|
|
|
|
public int getThreshold() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOnItemClickListener(AdapterView.OnItemClickListener listener) {}
|
|
|
|
|
|
|
|
public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener) {}
|
|
|
|
|
|
|
|
public int getDropDownAnchor() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2025-01-12 10:42:51 +01:00
|
|
|
public void setAdapter(ListAdapter adapter) {
|
|
|
|
this.adapter = adapter;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ListAdapter getAdapter() {
|
|
|
|
return adapter;
|
|
|
|
}
|
2024-08-05 17:17:53 +02:00
|
|
|
|
|
|
|
public void setThreshold(int threshold) {}
|
|
|
|
|
|
|
|
public int getImeOptions() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2025-01-12 10:42:51 +01:00
|
|
|
public int getListSelection() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void performCompletion() {}
|
|
|
|
|
2023-08-22 14:41:01 +02:00
|
|
|
}
|