-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- move provider feature to new package - refactor Location data class
- Loading branch information
Showing
19 changed files
with
81 additions
and
68 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
app/src/main/java/com/jmnetwork/e_jartas/model/Additional.kt
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
app/src/main/java/com/jmnetwork/e_jartas/model/DefaultResponse.kt
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
app/src/main/java/com/jmnetwork/e_jartas/model/GeneralClass.kt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.jmnetwork.e_jartas.model | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
|
||
class Location : ArrayList<LocationItem>() | ||
class Additional : ArrayList<AdditionalItem>() | ||
|
||
data class DefaultResponse( | ||
@SerializedName("message") val message: String, | ||
@SerializedName("status") val status: String | ||
) | ||
|
||
data class LocationItem( | ||
@SerializedName("lat") val lat: String, | ||
@SerializedName("lng") val lng: String | ||
) | ||
|
||
data class AdditionalItem( | ||
@SerializedName("id") val id: Int, | ||
@SerializedName("parameter") val parameter: String, | ||
@SerializedName("value") val value: String | ||
) | ||
|
||
data class TotalData( | ||
@SerializedName("total_data") val totalData: Int, | ||
@SerializedName("total_panjang_km") val totalPanjangKm: Int, | ||
@SerializedName("total_panjang_meter") val totalPanjangMeter: Int | ||
) |
This file contains 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
This file contains 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
10 changes: 0 additions & 10 deletions
10
app/src/main/java/com/jmnetwork/e_jartas/model/TotalData.kt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
...iew/manajemenTiang/AddProviderFragment.kt → ...emenTiang/provider/AddProviderFragment.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...manajemenTiang/BottomSheetItemProvider.kt → ...Tiang/provider/BottomSheetItemProvider.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ew/manajemenTiang/EditProviderFragment.kt → ...menTiang/provider/EditProviderFragment.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ew/manajemenTiang/ListProviderFragment.kt → ...menTiang/provider/ListProviderFragment.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...s/view/manajemenTiang/ProviderActivity.kt → ...najemenTiang/provider/ProviderActivity.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...as/view/manajemenTiang/ProviderAdapter.kt → ...anajemenTiang/provider/ProviderAdapter.kt
This file contains 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
This file contains 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