#retrofit #hilt #compose #android #piappstudio
In this video, we are discussing the way of integrating retrofit framework with travel insurance app. As we are already aware that the travel insurance app is already integrated with hilt, MVVM, and compose frameworks, so the retrofit framework should adopt those frameworks and work well.
We are using Google's repository design pattern to access the data through the repository class both locally and remotely. The system shall access the data from remote when the network is available, otherwise, it accesses data from the cache folder
Short cuts:
00:00:47 Requirement Analysis
00:01:20 Architecture Design
00:04:27 Code Implementation
00:05:16 Retrofit Integration
00:05:50 API Declaration
00:07:32 IPiDataSource interface that declare all possible list of functiions
00:08:18 PiRemoteDatasource class implements IPiDataSource
00:09:10 PiLocalDatasource class implements IPiDataSource
00:10:14 PiDataRepository class implementation
00:11:12 Storing response in cache folder
00:12:13 Hilt provides function
00:15:05 Hilt Annotations
00:17:08 ViewModel integration
Hilt Android Introduction Video:
• Code With Me: Hilt Android Introduction (T...
Integration Video:
• Code With Me: Hilt Android Integration (Ta...
Jetpack compose
• Code With Me: Android Jetpack Compose Intr...
Jetpack compose integration
• Code With Me: Jetpack Compose Integration ...
Project Url: https://github.com/piappstudio/Travel...
Android Playlist: • Code With Me - Android introduction & arch...
Digital Diary Android app: (Download it from play store)
========================
https://play.google.com/store/apps/de...
Official video's link
=================
Follow us on Facebook: / realpiappstudio
Follow us on Twitter: / piappstudio
Follow us on Instagram: /
Author: / boobalaninfo