private fun showSnackBar(rootView: View, message: String, success: Boolean) {
snackBar = CalendarCommSnackBar.make(
view = rootView,
title = message,
startIcon = if (success) {
R.drawable.ic_import_calender_success
} else {
R.drawable.ic_file_not_correct
},
description = "",
actionTitle = "",
listener = {
snackBar?.cancel()
}
)
snackBar?.show()
}
- Home
- Android Tutorials
- _Add To Cart
- _Android Google
- __Google Map
- __Google Ads
- _Pagination
- _Send Multiple Image
- _Shared Preferences
- _View Pager
- __Searchable Activity.
- __Git & GitHub
- _Android Problems
- __custom view pager
- __spinner library
- Java
- _Android Java
- __Razor Payment Gateway
- __Notification
- __Digital Marketer
- __Software Developer
- __Business Analyst
- __AI Developer
- _Machine Learning
- __ML Engineer
- _UI/UX
- Kotlin
- Interviews
- _Android Interviews
- ✅ Data Structures
- _ Searching Algorithm
- __Binary search
- __Linear search
- _Sorting Algorithms
- Api Handling
- __MVVM architecture android
- Background Tasks