java – How to customize Search Suggestion UI which show details in a hierarchical model-ThrowExceptions

Exception or error:

How to implement a view which contains an EditText ,whenever we type something it should show categories and items in the individual category as shown in the image.

Custom suggestion ui

How to solve:

Such view can be implemented as https://developer.android.com/reference/android/widget/PopupWindow.html?hl=en popup windows, which get updated/recreated on each change in EditText

Leave a Reply

Your email address will not be published. Required fields are marked *