Auto-complete EditText with JSON
Auto-complete EditText with JSON
I have JSON data in a file from Laravel API, I have to load it in Android project to use for auto-completion. How to perform auto-complete text in an edit-text with JSON API/file in Android?
I already tried Android AutoCompleteTextView but it not exactly what I want to achieve.
1 Answer
1
You have to parse json
data and fill it into array list
then use AutoCompleteTextView
to do your task.
Try this tutorial
json
array list
AutoCompleteTextView
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
This is not a question.no effort no code. You need to learn about AutoCompleteTextView. Thats it .
– ADM
Jan 5 at 8:16