How to display suggestions for AutocompleteTextView and onItemClick display that item in a recyclerview with more information about the item
i'm creating a POS system where i'm trying to display items name in a suggestion list under the autocompletetextview and i was able to create it, But when it came to the onItemClick i hit a wall i couldn' t display the item in a recyclerview. i did my research but couldn't find how to get these info from the database and display them and i had a hard time trying to figure out if it's a problem from the Adapter or i wrote my code wrong. so can anyone help me ?
this is what i tried
this is the...