Get Location Data with LiveData ViewModel and Jetpack Compose in Android - видео




Capture GPS Location latitude and longitude from the Android device and make it available to our Jetpack Compose Android application. To do this I create a subclass of LiveData called LocationLiveData. I create a new ApplicationViewModel to intereact with this LocationLiveData class. I update Koin dependencies so that this new ApplicationViewModel will be available to my Activity. Then I observeAsState on the live data and create a Composable function that will show the current GPS location. ...
Источник видео: RuTube.ru (Обучение)



Ваше мнение о видео
Комментарии ( 0 )

Сначала новые
Сначала старые
Сначала лучшие

Впишите НИК/Имя что бы писать комментарии

Войти

Похожее видео

#
Сегодня обсуждают
  1. Огромное спасибо!



    Смотрите на ютубе по запросу Дело Юрия Ражева про этого шарлатана


    Напишите кто-нибудь, что случилось с Шариком? И почему он в клинике?


    Благодарю. Но очень печально.