Thread
#compose
    d

    doodla

    2 years ago
    is there a compose way to do viewpagers/bottom navs?
    Timo Drick

    Timo Drick

    2 years ago
    It is different. So as far as i know you can build it on own very easy. The different parts are already there. TabRow/Tab and to switch between views you can just use a state and maybe a when?S.th. like that:
    when (selection) {
        <http://ConfigType.Info|ConfigType.Info> -> InfoView(show)
        ConfigType.Misc -> MiscView(config, config)
        ConfigType.Effects -> ImageEffectsView(config)
        ConfigType.AnimationMode -> AnimationModeView(config)
    }
    d

    doodla

    2 years ago
    Thanks!