This commit introduces a Koin module, `clusterNetworkModule`, to provide instances for network-related dependencies for the clustering feature.
Specifically, it provides:
- An `OkHttpClient` instance with a 5-second connection timeout.
- A `Retrofit` instance configured with a base URL ("http://labai.polinema.ac.id:5050/"), the provided `OkHttpClient`, and `GsonConverterFactory`.
- A `ClusteringService` instance created by the `Retrofit` instance.
|
||
|---|---|---|
| .. | ||
| .idea | ||
| .kotlin/errors | ||
| app | ||
| commodity_price_prediction_feature | ||
| control_feature | ||
| gradle | ||
| growth_recipe_feature | ||
| plant_disease_detection_feature | ||
| .gitignore | ||
| agrilinkvocpro-keystore.jks | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||