h6ah4i / android-advancedrecyclerview

RecyclerView extension library which provides advanced features. (ex. Google's Inbox app like swiping, Play Music app like drag and drop sorting)
https://advancedrecyclerview.h6ah4i.com/
Apache License 2.0
5.32k stars 860 forks source link

scrollToGroup not working #492

Open ankitjain10 opened 5 years ago

ankitjain10 commented 5 years ago

expMgr.scrollToGroup(activeGroup, height); not working

if (path != null) { flatPosition = WrapperAdapterUtils.wrapPosition(path, mWrapperAdapter, mRecyclerView.getAdapter(), flatPosition); }

    RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForLayoutPosition(flatPosition);

    if (vh == null) {
        return;
    }

code get exited here.

ankitjain10 commented 5 years ago

height of children are varied.