Questions tagged [autocompletetextview]

AutoCompleteTextView is an Android widget that automatically shows complete suggestions as the user types.

The AutoCompleteTextView obtains the list of suggestions from filtering its Adapter (which must be set to allow complete suggestions) using the text the user enters in the widget's input area. To trigger the list of suggestions the user must insert a minimum number of characters defined by the threshold attribute.

Useful links

1455 questions
-1
votes
1 answer

AutoCompleteTextView - when update adapter, dropdown auto close

I use MaterialAutoCompleteTextView, when i add new item / items and call notifyDataSetChanged(), dropdown automatically closes How to fix this VIDEO: https://drive.google.com/file/d/1AYWW-_HcIpefrn0RcPMx2EsLLoyB2TtY/view?usp=sharing CODE: class…
Alis Abenov
  • 439
  • 1
  • 4
  • 11
-1
votes
1 answer

How can i show suggestions for multiple values for edittext field in android?

I need a functionality in android app, that is similar to Gmail app in android real device which has drop down suggestions for multiple value in "To" field or like stack overflow's tag suggestions for multiple values. For example, I entered a email…
fargath
  • 7,844
  • 6
  • 24
  • 36
-1
votes
1 answer

How to use API in autoCompletetextview?

I want to make an AutoCompleteTextview with RapidApi Urban Dictionary where I would filter words by input. But I am a beginner. I've searched a lot tutorials on it. But I did not find any such that. I just get this from RapidApi val client =…
mr. groot
  • 334
  • 4
  • 18
-1
votes
2 answers

Cannot resolve constructor 'ArrayAdapter(AddChildActivity, int, void)'

Cannot resolve constructor 'ArrayAdapter(com.alburraq.mapschoolbus.activities.AddChildActivity, int, void)' I want to show arraylist in autoCompletetextview for (int i = 0; i < Constants.followArrayList.size(); i++) { …
-1
votes
2 answers

How can I wrap the content in the AutoCompleteTextView in android

I want to support AutoCompleteTextView in android. How can wrap the content of the view data to the width of the screen?
AdminS
  • 1
  • 2
-1
votes
1 answer

AutoCompleteTextView not working after changing the Locale

In here 'AutoCompleteTextView' loads country list from 'Locale' with following code. public static ArrayList getCountryList() { Locale[] locale = Locale.getAvailableLocales(); ArrayListcountries = new…
-1
votes
1 answer

Autocompletetext No appear Android Studio

Im trying to make a autocompletetext in android studio. When i put the coding and run the apps.Nothing happen! i take the source and make exactly like that still nothing happen.Maybe i do a some mistake in my code, because i'm beginner. here is my…
-1
votes
1 answer

Autocomplete edit text filtering based on two different data columns

I am following an example for doing an autocomplete in my app,the code I am following is @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mList =…
-1
votes
2 answers

Android autocomplete get position of selected item in whole list

Yes,I know there is position parametar in AdapterView.OnItemClickListener callback, but this parametar return position of filtered(shown) list. For example I have _countriesEvisitor arraylist and I would like to get selected country object by…
Vlado Pandžić
  • 4,879
  • 8
  • 44
  • 75
-1
votes
2 answers

Key Value From json into AutoCompleteEditText

I am getting data from JSON in below format { "success": 1, "message": "done", "data": [ { "name": "Central Construction", "id": 11 }, { "name": "IT", "id": 12 }, { "name":…
chirag90
  • 2,211
  • 1
  • 22
  • 37
-1
votes
2 answers

AutoCompleteTextView didnt work

now i am using autocompleteTextview for showing suggestion , i get the data from webservice and and i set the adapter. i dont get an error but when i click the Textview it wont show anything.and then I check the list and its contains the data. am i…
gilllsss
  • 97
  • 2
  • 11
-1
votes
1 answer

android - getDialog does not return an instance of AlertDialog

I've been working on google's course sunshine app and wanted to put my personal touch in it so i made the user specify his city by using a hybrid of EditTextPreference and AutoCompleteTextView shown in here: public class…
-1
votes
2 answers

Caused by: java.lang.IndexOutOfBoundsException on AutocompleteTextView

I get this error when i try to get the position of first and last character typed by a user in an AutoCompleteTextView. I would appreciate any help provided. When i add a textChangeListener i still get the error java.lang.IndexOutOfBoundsException:…
jonathan
  • 29
  • 1
  • 11
-1
votes
1 answer

AutoCompleteTextView AddTextChangedListener method in Android(Xamarin)

I want to Implement AddTextChangedListener to AutoCompleteTextView using Android.Text.ITextWatcher But I can't find any way on how to implement in Xamarin. I am using BigData so every Single Character add in AutoCompleteTextView i want to call…
Harshad Pansuriya
  • 20,189
  • 8
  • 67
  • 95
-1
votes
2 answers

Remove all non numeric value from textView

After test it on my application, I get numeric value(phone) and string values(names) in TextView field. I want remove all non numeric values. public class SendingSMSActivity extends Activity{ private int mCount; private AutoCompleteTextView…
B Aristide
  • 67
  • 10