简体   繁体   中英

Kotlin-android: Unresolved reference

I have received this project from the previous developer, and he said everything is working fine on his end. But on my end, when I try to sync the project I get a lot of errors, and I don't know where to even start. One of them is this:

在此处输入图像描述

Here's that code:

private fun setupScrollDirection() {
        val allowHorizontalScroll = config.scrollHorizontally && config.viewTypeFolders == VIEW_TYPE_GRID
        excluded_vertical_fastscroller.isHorizontal = false
        excluded_vertical_fastscroller.beGoneIf(allowHorizontalScroll)

        excluded_vertical_fastscroller.allowBubbleDisplay = config.showInfoBubble
        excluded_vertical_fastscroller.setViews(manage_folders_list) {
            excluded_vertical_fastscroller.updateBubbleText(getBubbleTextItem(it))
        }
    }

I have a lot more errors of the same type, like this one for example:

在此处输入图像描述

Please have a call with the other developer and ask him/her to share his screen on call.

When the screen is being shared, ask the developer to Ctrl+ Click on beGoneIf variable/function and then check where the beGoneIf is defined in the project. This way you can check whether the required library/dependencies used by other developer is present in your local project or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM