CampFahrplan icon indicating copy to clipboard operation
CampFahrplan copied to clipboard

Don't stack fragments on the back stack

Open tuxmobil opened this issue 9 years ago • 5 comments

At least for fragments of the same type (lecture details), don't stack them on the back stack if clicked consecutively. If replacing a lecture detail fragment with a different one, also remove it from the back stack.

tuxmobil avatar Dec 29 '15 11:12 tuxmobil

Is this specific to tablet layouts?

johnjohndoe avatar Dec 30 '15 00:12 johnjohndoe

yes

tuxmobil avatar Dec 30 '15 08:12 tuxmobil

It would be convenient if fragment manager actions are harmonized as in #113 before looking into this. I further plan to extract common routines into a BaseFragment class.

johnjohndoe avatar Dec 31 '15 20:12 johnjohndoe

I'm not a huge fan of building abstraction layers on top of every Android API. At least that's the common basis everyone is used to.

tuxmobil avatar Dec 31 '15 21:12 tuxmobil

:white_check_mark: Resolved here: https://github.com/EventFahrplan/EventFahrplan/commit/f9fe5ffa0d1cbe2fde60f5b2ad0fda96d83aa52f

johnjohndoe avatar Aug 27 '17 21:08 johnjohndoe