Загрузка...

Build a Hidden Tracking App | Part 7 - Dependency Injection & MVVM

#MVVM #dependencyinjection #android
In this episode,
we are going to add dependency injection into our project and organize it to follow the MVVM design pattern.

In this series,
we are going to build a hidden mobile app that you will be able to install on any Android device.
The app will run a service in the background (even when the app is closed) and get the location of the device. After getting the location of all the devices it is installed on, the app will upload the data to the Firebase Database and display the locations on a Google Map.
We are going to be able to track these devices in real-time, and know their exact position.

This series is a good place to learn Android development in general, as we are going to use many popular and useful Android features, such as following the MVVM design pattern, Dependency Injection with Dagger-Hilt, implementing the Google Maps SDK, using Location services, reading and writing to Firebase, and much more.

---- 𝗗𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝗶𝗲𝘀 𝗳𝗼𝗿 𝗛𝗶𝗹𝘁 ----
Module.gradle:
id 'dagger.hilt.android.plugin'
id 'kotlin-kapt'

// Hilt
def hilt_version = '2.42'
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-compiler:$hilt_version"

Project.gradle:
(inside buildscript)
classpath("com.google.dagger:hilt-android-gradle-plugin:2.42")

💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾
Between my full-time job and my family life,
I try to find free time to create content for this channel.
You can support me and help this channel keep growing:
https://paypal.me/MikeSchvedov220
💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾

💻 This Is My Development Setup (Affiliate): 💻
============
Main Monitor:
https://amzn.to/3M64qCJ
Secondary Monitor:
https://amzn.to/41Iu06A
Graphics Card:
https://amzn.to/3MpnXzd
CPU:
https://amzn.to/3I8nvCW
RAM:
https://amzn.to/42zqM6u
Keyboard:
https://amzn.to/3W5RFN4
Mouse:
https://amzn.to/3nTPcZs
Headphones:
https://amzn.to/3pz0By5
Microphone:
https://amzn.to/3OecJz3

Видео Build a Hidden Tracking App | Part 7 - Dependency Injection & MVVM канала Mike's Code
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять