AutoCompleteTextView - Android Studio Tutorial

Published: 29 March 2018
on channel: Coding in Flow
105,117
1.2k

In this video we will learn, how to use AutoCompleteTextView, which is a subclass of EditText and can show auto-complete suggestions when the user types something into the text input field.
We populate our suggestions popup with an ArrayAdapter to which we pass a string array. We will also change the comletionThreshold to change the number of characters the user has to type in to start getting suggestions. To customize it further we will also set a completionHint, change the popupBackground color and pass our very own layout for the dropdown list.

Example code:
https://gist.github.com/codinginflow/...

AutoCompleteTextView documentation:
https://developer.android.com/referen...

____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io

⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching

❗ Subscribe to the channel:
   / codinginflo.  .

📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter

❓ Join our free developer community:
  / discord  

📣 Follow Coding in Flow on other sites:
Facebook:   / codinginflow  
Instagram:   / codinginflow  
TikTok:   / codinginflow  
Twitter:   / codinginflow  
Github: https://github.com/codinginflow

💰 Business requests, sponsoring, etc.: info@codinginflow.com


On this page of the site you can watch the video online AutoCompleteTextView - Android Studio Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Coding in Flow 29 March 2018, share the link with friends and acquaintances, this video has already been watched 105,117 times on youtube and it was liked by 1.2 thousand viewers. Enjoy your viewing!