我已成功使用TwoWayView为我的项目实现水平列表。但现在我正在尝试处理onItemClick事件。所以我试着添加twowayview:core,这样我就可以使用这些函数。但是,当我在写的build.gradle:如何在Android Studio中导入和使用onItemClickListener for TwoWayView
compile 'org.lucasr.twowayview:core:[email protected]'
compile 'org.lucasr.twowayview:layouts:[email protected]'
compile 'org.lucasr.twowayview:twowayview:0.1.4'
我得到一个错误说:
Error:Execution failed for task ':app:processDebugResources'.
Error: more than one library with package name 'org.lucasr.twowayview' You can temporarily disable this error with android.enforceUniquePackageName=false However, this is temporary and will be enforced in 1.0
能有人帮我如何在我的项目进口的核心功能,所以我可以使用onItemClickListeners?
GitHub库,我用在我的项目导入TwoWayView: https://github.com/lucasr/twoway-view