Uploaded image for project: 'Community Support - Open Source Project Repository Hosting'
  1. Community Support - Open Source Project Repository Hosting
  2. OSSRH-76565

Android Retrofit FlowCallAdapterFactory library.

    XMLWordPrintable

    Details

    • Type: New Project
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      The FlowCallAdapterFactory is Retrofit CallAdapter.Factory.

      • Can use coroutine flow.
      • example
      • val retrofit = Retrofit.Builder()
            .baseUrl(server.url("/"))
            .addConverterFactory(StringConverterFactory())
            .addCallAdapterFactory(FlowCallAdapterFactory())
            .build()
        
        val service = retrofit.create(Service::class.java)
        

        Attachments

          Activity

            People

            Assignee:
            jalarcon Julian Alarcon
            Reporter:
            taehwandev taehwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title