mercredi 29 novembre 2017

how to get data from online database in recyclerview on an item selected of searchable spinner

I am making an online food ordering app in which first page i.e. CityActivity I getting the city and area name from online database and passing only areaname to MainActivity through Shared preference in a textbox. Now according to the area I have fetched I need to get only that area restaurants data from online database in recyclerview in android studio.

In databse ,in restro_tbl I have added restroid,restroname,cityid,areaid(foreign key as i have made city and area separate tables),restrodiscount,restrodescription,restroimg


from Android Forums at AndroidCentral.com - Ask a Question http://ift.tt/2j3LSpL
via IFTTT

Aucun commentaire:

Enregistrer un commentaire