SWEngGroup4 / scranplan

Scran Plan Android Cooking App
http://scranplan.xyz
0 stars 0 forks source link

Duplicate recipes appearing when switching between tabs multiple times #138

Closed sleepy-evelyn closed 4 years ago

sleepy-evelyn commented 4 years ago

How to replicate:

duplicates

sleepy-evelyn commented 4 years ago

I think the issue seems to be new versions of RecipeFragment keep getting loaded in. Setting RecipeFragment to null and reloading is a way of fixing it but it's not ideal. Ideally RecipeFragment shouldn't have to be reloaded within the Home fragment except when filter preferences are changed or upon logging in/out again and maybe after visiting an activity.