The Wayback Machine - https://web.archive.org/web/20200515082649/https://github.com/topics/moshi
Skip to content
#

moshi

Here are 139 public repositories matching this topic...

Foodium

🍲Foodium is a sample food blog Android application 📱 built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Flow, Dagger 2, Architecture Components, MVVM, Room, Retrofit, Moshi, Material Components).

  • Updated Apr 17, 2020
  • Kotlin
tomaszpolanski
tomaszpolanski commented Jun 4, 2017

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!")
   

Improve this page

Add a description, image, and links to the moshi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the moshi topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.