mirror of
https://github.com/hmalik144/LiveTemplatesDictionary.git
synced 2025-12-10 03:05:28 +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