Skip to content

Kotlin coroutine support missing #177

Description

@dave-kennedy

I always get an exception on line 124 of NextcloudRetrofitServiceMethod.invoke():

// Build/parse dynamic parametersfor(inti = 0; i < parameterAnnotationsArray.length; i++) {
Annotationannotation = parameterAnnotationsArray[i][0]; // <----- Blows up

I tried debugging this method, but every time it hits a breakpoint in here the app crashes.

Here's my Retrofit:

interfaceBookmarkService {
@GET("bookmark")
suspendfungetBookmarks(
@Query("folder") folderId:Int,
@Query("page") page:Int,
@Query("tags") tags:List<String>
): DtoBookmarks
@GET("folder?layers=1")
suspendfungetFolders(
@Query("root") parentFolderId:Int
): DtoFolders
}

These are my dependencies:

 implementation 'com.github.nextcloud:Android-SingleSignOn:0.5.0-rc4'
implementation 'com.squareup.retrofit2:retrofit:2.6.4'
implementation 'com.squareup.retrofit2:converter-gson:2.6.4'

Let me know if you need any more info.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions