For #1072: Adds onAttachedToWindow
parent
6dcc026e04
commit
0a449dc12c
|
@ -210,7 +210,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
|||
)
|
||||
|
||||
val actionSheet = view.findViewById<QuickActionSheet>(R.id.quick_action_sheet)
|
||||
actionSheet.afterInflate()
|
||||
//actionSheet.afterInflate()
|
||||
|
||||
val actionEmitter = ActionBusFactory.get(this).getManagedEmitter(SearchAction::class.java)
|
||||
sessionId?.let { id ->
|
||||
|
|
|
@ -31,7 +31,8 @@ class QuickActionSheet @JvmOverloads constructor(
|
|||
inflate(getContext(), R.layout.layout_quick_action_sheet, this)
|
||||
}
|
||||
|
||||
fun afterInflate() {
|
||||
override fun onAttachedToWindow() {
|
||||
super.onAttachedToWindow()
|
||||
setupHandle()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue