8 lines
289 B
Kotlin
Raw Normal View History

2023-02-11 23:41:23 -06:00
package com.isolaatti.utils
import com.isolaatti.connectivity.RetrofitClient.Companion.BASE_URL
object UrlGen {
2023-07-08 02:17:19 -06:00
fun userProfileImage(userId: Int) = "${BASE_URL}images/profile_image/of_user/$userId?mode=small"
2023-08-15 00:02:29 -06:00
fun imageUrl(imageId: String) = "${BASE_URL}images/image/${imageId}"
2023-02-11 23:41:23 -06:00
}