This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class BottomSheetBehaviorDialogFragment: BottomSheetDialogFragment(){ | |
private var behavior: BottomSheetBehavior<View>? = null | |
abstract fun createContentView(): View | |
open fun getStateStart(): Int = BottomSheetBehavior.STATE_EXPANDED | |
open fun onSlide(bottomSheet: View, slideOffset: Float) = Unit | |
open fun onStateChanged(bottomSheet: View, newState: Int) = Unit |