Refactor application loading + Paging on main Page
This commit is contained in:
parent
45f5e9023e
commit
1e58752008
26 changed files with 596 additions and 423 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue