What is recommended to handle the scenario "User entered empty/null" value in the search bar. Its in eBook.
Just want to know the genius way to handle apart from providing the error message like "Enter some search text"
There could be two possible solutions.
Check being a user what would you expect in that scenario?
Use a Snackbar (Toast) to show a message.
Snackbars (toasts) are often used as tooltips/popups to show a message at the bottom of the screen, that fade out within seconds.