Sponsorship APIs
To get the list of sponsors associated with a program, you have to make a sponsor client and then
fetch a list of sponsors by passing program id as a param like mentioned below:
val sponsor = livelikeSdk.sponsor()
sponsor.fetchByProgramId(
"program_id",
LiveLikePagination.FIRST,
object : LiveLikeCallback<List<SponsorModel>>() {
override fun onResponse(result: List<SponsorModel>?, error: String?) {
}
})
Updated about 1 year ago