-
Updated
May 9, 2020 - Kotlin
moshi
Here are 139 public repositories matching this topic...
-
Updated
May 14, 2020 - Kotlin
-
Updated
Apr 17, 2020 - Kotlin
-
Updated
Apr 28, 2020 - Kotlin
-
Updated
Apr 1, 2020 - Kotlin
-
Updated
Dec 28, 2018 - Java
-
Updated
Oct 29, 2019 - Kotlin
-
Updated
Mar 9, 2020 - Java
When an API exception is happening the exception should be caught in catch block is it?
`
fun invoke(
scope: CoroutineScope,
params: Params?,
onResult: (UseCaseResponse)
) {
val backgroundJob = scope.async {
run(params)
}
scope.launch {
backgroundJob.await().let {
try {
-
Updated
Apr 26, 2020 - Kotlin
-
Updated
May 11, 2020 - Kotlin
-
Updated
Mar 2, 2020 - Java
-
Updated
Mar 28, 2020 - Java
We probably want to do this smart. Add common constants to the parent Resource class, and domain specific to each respective resource implementation.
@akreul @andretietz could you comment on this ticket with all your findings... I want to push this with a single pr.
How about showing in README first how kotlin would do it's null mapping, something like this:
getCurrentUserId()
?.takeIf { it.isNotEmpty() && it != "Invalid Id" }
?.let { getCurrentUserFromDatabase(it) }
?.username
?.let { "Logged in user: $it" }
.apply {
if (this != null) {
log(this)
} else {
log("No user to login!")
-
Updated
Jan 25, 2020 - Kotlin
-
Updated
Jan 25, 2020 - Kotlin
-
Updated
Jun 19, 2018 - Kotlin
-
Updated
Oct 21, 2019 - Kotlin
-
Updated
Oct 6, 2018 - Java
-
Updated
May 4, 2020 - Kotlin
-
Updated
Feb 12, 2020 - Kotlin
-
Updated
Jan 11, 2018 - Java
-
Updated
Sep 10, 2019 - Kotlin
-
Updated
May 12, 2020 - Kotlin
Improve this page
Add a description, image, and links to the moshi topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the moshi topic, visit your repo's landing page and select "manage topics."


Adding CONTRIBUTING with descriptions and current state.