Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

[FIX] Check if we are in a RESUMED state before showing the Dialog.#1555

Merged
philipbrito merged 1 commit intobetafrom
fix/fix-crash-on-baseviewholder
Jul 27, 2018
Merged

[FIX] Check if we are in a RESUMED state before showing the Dialog.#1555
philipbrito merged 1 commit intobetafrom
fix/fix-crash-on-baseviewholder

Conversation

@luciofm
Copy link
Copy Markdown
Contributor

@luciofm luciofm commented Jul 27, 2018

No description provided.

@luciofm luciofm added this to the 2.5.1 milestone Jul 27, 2018
@luciofm luciofm self-assigned this Jul 27, 2018
val actionsBottomSheet = MessageActionsBottomSheet()
actionsBottomSheet.addItems(menuItems, this@BaseViewHolder)
actionsBottomSheet.show(supportFragmentManager, null)
if (this.lifecycle.currentState.isAtLeast(Lifecycle.State.RESUMED)) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@philipbrito philipbrito merged commit 5b4d126 into beta Jul 27, 2018
@philipbrito philipbrito deleted the fix/fix-crash-on-baseviewholder branch July 27, 2018 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants