Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit a6eb937

Browse files
committed
add documentation for LessonBottomSheetBehavior
1 parent 66917c7 commit a6eb937

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Owl/app/src/main/java/com/materialstudies/owl/ui/lessons/LessonBottomSheetBehavior.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import android.view.View
77
import androidx.coordinatorlayout.widget.CoordinatorLayout
88
import com.google.android.material.bottomsheet.BottomSheetBehavior
99

10+
/**
11+
* A [BottomSheetBehavior] that helps to restrict touchable area depends on translationX
12+
*/
1013
class LessonBottomSheetBehavior<T : View>(context: Context, attrs: AttributeSet?) :
1114
BottomSheetBehavior<T>(context, attrs) {
1215

0 commit comments

Comments
 (0)