BaseRecyclerViewAdapterHelper icon indicating copy to clipboard operation
BaseRecyclerViewAdapterHelper copied to clipboard

报错了

Open SpencerLaw opened this issue 2 years ago • 5 comments

image

SpencerLaw avatar May 30 '22 02:05 SpencerLaw

错误: 无法直接访问DraggableModule中的抽象方法 addDraggableModule(BaseQuickAdapter,?>) return DraggableModule.super.addDraggableModule(baseQuickAdapter); ^

hexin9456 avatar Jun 09 '22 16:06 hexin9456

报错了,能解决一下吗

First-Time avatar Jun 15 '22 07:06 First-Time

确实有这个报错的问题,我也是新下载的demo运行就报错,之前老版本的demo点击功能模块区域 LoadMore DragAndSWipe
UpFetch 三个功能都是直接闪退。能解决下么?

gxy-1207 avatar Jun 16 '22 06:06 gxy-1207

    @NotNull
    @Override
    public BaseDraggableModule addDraggableModule(@NotNull BaseQuickAdapter<?, ?> baseQuickAdapter) {
        return new BaseDraggableModule(baseQuickAdapter);
    }

    @NotNull
    @Override
    public BaseLoadMoreModule addLoadMoreModule(@NotNull BaseQuickAdapter<?, ?> baseQuickAdapter) {
        return new BaseLoadMoreModule(baseQuickAdapter);
    }
	
    @NotNull
    @Override
    public BaseUpFetchModule addUpFetchModule(@NotNull BaseQuickAdapter<?, ?> baseQuickAdapter) {
        return new BaseUpFetchModule(baseQuickAdapter);
    }

dachengzi-software avatar Jul 22 '22 09:07 dachengzi-software

把这三个类,暂时改成kotlin的就行了。

yangfeng1994 avatar Jul 27 '22 11:07 yangfeng1994