Skip to content

What kind of "container" renderings do you actually use? #857

Answered by rjrjr
zoltish asked this question in General
Discussion options

You must be logged in to vote

Keyed sounds really interesting, if you're inclined to share it.

Our problem is a combination of the old system's need to subclass ModalViewContainer for every new type of Dialog, plus a need to restrict the area of some modals to ensure they don't cover our tutorial and status bars.

Subclasses:

  • PosCardContainer : ModalViewContainer is basically the PanelContainer from the old sample code.
  • PosSheetContainer : ModalViewContainer does full screen dialogs.
  • BottomSheetContainer : ModalViewContainer uses androidx BottomSheet.
  • MortarDialogContainer provides horrible legacy support that I don't want to talk about, scars are too deep.

Today we're shipping stuff like this:

typealias RetailTabNav…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@zoltish
Comment options

Comment options

You must be logged in to vote
3 replies
@zoltish
Comment options

@lucamtudor
Comment options

@zoltish
Comment options

Answer selected by zoltish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants