mirror of
https://github.com/hmalik144/LiveTemplatesDictionary.git
synced 2026-01-31 02:41:51 +00:00
Update viewutilsclass.kt
This commit is contained in:
@@ -27,3 +27,5 @@ fun android.view.View.navigateTo(navigationId: Int) {
|
|||||||
fun android.view.View.navigateTo(navDirections: androidx.navigation.NavDirections) {
|
fun android.view.View.navigateTo(navDirections: androidx.navigation.NavDirections) {
|
||||||
androidx.navigation.Navigation.findNavController(this).navigate(navDirections)
|
androidx.navigation.Navigation.findNavController(this).navigate(navDirections)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Applicable in Kotlin: top-level
|
||||||
|
|||||||
Reference in New Issue
Block a user