Autocomplete for Mobile App

Hello,
I am building search function for my app by using Agolia and I want to show suggestion for each keyword that the user typed. I found the guide to build this feature for website: https://www.algolia.com/doc/guides/search/auto-complete/
Can you show me how to build the same feature for mobile app, please?
Thank you so much.

On mobile we recommend to use the debug option set to true to avoid closing the window when the user interacts with something else.

For styling, you can just override the required style using media queries.