0

I have 2 tables: 1. Cities 2. Forecasts the tables are currently linked by 2 fields: city and country. and in relation of one to many (many forecasts per one city) each table is updated in a deferent fragmentActivity and both are displayed in the main activity. both get data from parsing JSONs I have another activity of the cities list. if a city is deleted from the cities list, it is deleted from CITIES table by id (by onLongClick event in the recyclerView) the problem is that - the relevant forecasts in Forecasts Table should be deleted as well. what is the current solution? THANKS! BTW - if it wasn't clear by now - I'm new to android. ;)

getandrid
  • 3
  • 1

0 Answers0