[英]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.共享屏幕时,请开发人员按
Ctrl+ Click
beGoneIf
变量/函数,然后检查项目中定义beGoneIf
的位置。 This way you can check whether the required library/dependencies used by other developer is present in your local project or not.通过这种方式,您可以检查其他开发人员使用的所需库/依赖项是否存在于您的本地项目中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.