AlanSanchezP / gnomy

Your ecognomy gnome
GNU General Public License v3.0
1 stars 0 forks source link

Prevent delay when changing fragments #27

Closed AlanSanchezP closed 3 years ago

AlanSanchezP commented 3 years ago

Current implementation delays fragment transactions in order to avoid lagging caused by BottomNavigation animations. While this works, it produces a noticeable delay that affects tinting of elements and Appbar title.

An idea (that can also reduce code boilerplate) is to use Navigation Component but I'm not sure if it will actually prevent the animation lag, plus custom interface MIGHT be an issue.