This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AddDeviceFragment : Fragment() { | |
private var _binding: FragmentAddDeviceBinding? = null | |
private val binding get() = _binding!! | |
//firestore instance | |
private lateinit var firestore: FirebaseFirestore | |
//auth instance | |
private lateinit var auth: FirebaseAuth |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'kotlin-kapt' | |
} | |
//Retrofit | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation "com.squareup.retrofit2:converter-moshi:2.9.0" | |
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2" | |
//Moshi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Retrofit | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation "com.squareup.retrofit2:converter-moshi:2.9.0" | |
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2" | |
// Moshi | |
implementation "com.squareup.moshi:moshi:1.12.0" | |
kapt "com.squareup.moshi:moshi-kotlin-codegen:1.12.0" |