Code formatting via KtLint

This commit is contained in:
Kumar 2022-05-06 12:23:47 +05:30 committed by A117870935
parent 0a6504010a
commit ab9e31e938
3 changed files with 6 additions and 6 deletions

View file

@ -183,7 +183,7 @@ class GalleryAdapter(
)
}
//Set Image/Video List According to Selection of Hide/Show Image/Video
// Set Image/Video List According to Selection of Hide/Show Image/Video
@SuppressLint("NotifyDataSetChanged")
fun setMediaFilter(
mediaObject: List<OCFile>,

View file

@ -33,10 +33,10 @@ class GalleryFragmentBottomSheetDialog(
) : BottomSheetDialogFragment() {
private lateinit var binding: FragmentGalleryBottomSheetBinding
private lateinit var mBottomBehavior: BottomSheetBehavior<*>
private var currentMediaState : MediaState = MediaState.MEDIA_STATE_DEFAULT
private var currentMediaState: MediaState = MediaState.MEDIA_STATE_DEFAULT
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
binding = FragmentGalleryBottomSheetBinding.inflate(layoutInflater,container, false)
binding = FragmentGalleryBottomSheetBinding.inflate(layoutInflater, container, false)
return binding.root
}
@ -102,7 +102,7 @@ class GalleryFragmentBottomSheetDialog(
val currMediaState: MediaState
get() = currentMediaState
enum class MediaState{
enum class MediaState {
MEDIA_STATE_DEFAULT,
MEDIA_STATE_PHOTOS_ONLY,
MEDIA_STATE_VIDEOS_ONLY