Refactor application loading + Paging on main Page

This commit is contained in:
Thomas Andres Gomez 2021-05-11 23:34:22 +02:00
parent 45f5e9023e
commit 1e58752008
26 changed files with 596 additions and 423 deletions

View file

@ -18,13 +18,9 @@ class BibLibClient : IBibLibClient {
override val service: IBibLibWebServiceAPI = retrofit.create(IBibLibWebServiceAPI::class.java)
// endregion
///////////////////////////////////
// region BibLib webservice Auth
override fun updateBearerToken(token: String) {
interceptor.token = token
}
override var token: String?
get() = interceptor.token
set(value) { interceptor.token = value }
// endregion
}

View file

@ -4,7 +4,7 @@ interface IBibLibClient {
val service: IBibLibWebServiceAPI
fun updateBearerToken(token: String)
var token: String?
companion object {
const val BASE_URL = "https://bib.bibulle.fr"