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
2 answers

AutoCompleteTextView get value from ArrayList based on Position

I am using AutoCompleteTextView in my program, where I am showing suggestions from JSON and my JSON looks like: {"areas":[{"area_id":"1","area_name":"Area 1"},{"area_id":"2","area_name":"Area 2"}],"success":1} Here is the AutoCompleteTextView code…
Oreo
  • 2,586
  • 8
  • 38
  • 63
-1
votes
2 answers

Hide keyboard when AutoComplateTextView item clicked

I'm trying to hide software keyboard when user click on AutoComplateTextView item, but it doesn't work. This is my code: mAutoCompleteTextView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void…
-1
votes
1 answer

negative value of position occurs on selected item from AutoComplete TextView

I am unable to get the correct position of Item from AutoCompleteTextView. I got position in minus.Basically i want to select item and get its position but as its a large amount of data I have used AutoCompleteTextView instead of just Spinner. So…
-1
votes
1 answer

Add custom adapter, custom autocompletetextview and database to custom textwatcher

I'm learning Autocompetetextview to get suggestions from web service. For this I used this tutorial. The only problem in their code is They have linked their custom adapter, custom autocompletetextview and local database in the custom textwatcher…
Sammy
  • 181
  • 3
  • 18
-1
votes
2 answers

autocompletetextview not updating

I have an autocompletetext for which I'm getting suggestions from web service using volley stringrequest. Now the problem is the ArrayList is not getting cleared so as every time I make a request old items gets added to the list. I tried…
Somnath Pal
  • 190
  • 1
  • 15
-1
votes
1 answer

add postfix to url in autocompletetextview

I have an autocompletetextview used for opening urls in webview. I want to automatically add ".com" as postfix to urls which does not have any extensions like .com, .tv, .co.in, etc. But problem is how to check if there is already an extension…
Sammy
  • 181
  • 3
  • 18
-1
votes
2 answers

How to add multiple fields in AutoCompleteTextView in android

Hi i am very new for android and in my app i have add AutoCompleteTextView ok that's fine But here my main requirement is i want to add multiple fields in AutoCompleteTextView like planets,colors,rupees string array-lists i want to display in my…
AbhiRam
  • 2,033
  • 7
  • 41
  • 94
-1
votes
1 answer

How to add json values in single row of autocompletetextview?

I am using this example of autocompletetextview,now i am able to get name in suggestion,the output is like ab abc but the issue is i want to get id and name in single row,like 1 ab 2 abc
Aditya Vyas-Lakhan
  • 13,409
  • 16
  • 61
  • 96
-1
votes
1 answer

ANDROID autoCompleteView suggestions

I want to show suggestions not only as starting character but also a containing character... means 's' suggestions should be like tags,pas,also, and so on.
-1
votes
1 answer

How to impliment callout with AutoCompleteTextView android

How to implement @callout in android with AutoCompleteTextView.I want to show suggestion list when i type @ in textbox like facebook.
MohsinSyd
  • 175
  • 2
  • 13
-1
votes
2 answers

How to change text size of dropdown of autocomplete text view

There is a way to change text size of dropdown of autocomplete text view in android. In my process, I want to do programmatically. If there is some way, please teach me how to do. Thanks.
Misaki Yuki
  • 1
  • 1
  • 1
-1
votes
1 answer

Autocomplete with Google Places API

I am developing an application related to train. How can I autocomplete textview with Railway Station name in India using Google Places API.
-1
votes
1 answer

AutoCompleteTextView in android mapping

I have two AutoCompleteTextView in which one is mapped with another like if I select value in first AutoCompleteTextView1 then according to the value it shows the second AutoCompleteTextView2 values which is mapped in database. It works fine but…
Pooja
  • 241
  • 2
  • 3
  • 11
-1
votes
1 answer

AutoCompleteTextView does not appear above listview

Well I ve been trying this all day but I could not find the error , and I am in a deadend. I have a xml file which I have a listview and of my list I want to have a AutoCompleteTextView which I will use as search bar later.The problem is that in my…
-1
votes
1 answer

Android autocomplete textview population using local json

How To use a local JSON(present in raw folder) file to populate an autocomplete textview? I am new to android, and building a small application. plz help
1 2 3
96
97