Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Re-use the existing RestaurantListFragment when switching between "Discover" and "Favorite". #10

Open
huhx0015 opened this issue Jun 5, 2017 · 0 comments
Assignees

Comments

@huhx0015
Copy link
Owner

huhx0015 commented Jun 5, 2017

When switching between "Discover" and "Favorite" options in the navigation drawer, a new instance of RestaurantListFragment is created and loaded each time.

As both options are using the same type of fragment, but with slightly different behavior, it is more optimal to just refresh the view in RestaurantListFragment accordingly when switching between the two options.

@huhx0015 huhx0015 self-assigned this Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant