Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
"paging not working" -> Issue resolved
  • Loading branch information
Shams committed Nov 11, 2021
commit 76ec12521d2d1f985e9b3a57d42c186cb58bace6
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import com.squareup.moshi.Json

data class ApiResponse(
@Json(name = "ad")
val ad: Ad,
val ad: Ad?,
@Json(name = "data")
val myData: List<Data>,
val myData: List<Data>?,
@Json(name = "page")
val page: Int,
val page: Int?,
@Json(name = "per_page")
val per_page: Int,
val per_page: Int?,
@Json(name = "total")
val total: Int,
val total: Int?,
@Json(name = "total_pages")
val total_pages: Int
val total_pages: Int?
)