mirror of
https://github.com/hmalik144/LiveTemplatesDictionary.git
synced 2026-10-30 07:26:42 +00:00
Update viewutilsclass.kt
This commit is contained in:
1 parent
c69e845549
commit
578676e0e4
1 file changed
+2
@@ -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