A
Android Central Question
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
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