CMPUT301F24napkin / napkinfactory

0 stars 2 forks source link

Footer functionality #12

Closed Sherali5543 closed 11 hours ago

Sherali5543 commented 1 day ago

Added spots for people to load their fragments from in mainactivity

Footer shows which screen we on

Removed warnings

antoszko commented 11 hours ago

There is no state saving between fragment switches. So as a test, I made case=1 to display a Profile Fragment. If I click btn0, change the state of the screen (select chips, scroll the view), click btn1, then click btn0, the state is reset to default. I think this is because we are constructing a new fragment instead of reloading the fragment.

Is this the expected behaviour?