Add FastScrollSectionInfo with "info icon" when work educard exists.

Before: https://b.corp.google.com/issues/325490294#comment1

After: https://b.corp.google.com/issues/325490294#comment5

Bug: 325490294
Test: Manual
Flag: NA
Change-Id: I557971cddd5829f46697004159d62a9343e75f69
This commit is contained in:
Anushree Ganjam committed 2024-03-21 12:29:47 -07:00
1 parent ee7a069467
commit 6dadf21a7f
3 files changed
+11

No files matched your search

@@ -103,6 +103,8 @@ public class WorkEduCard extends FrameLayout implements
AllAppsRecyclerView rv = mActivityContext.getAppsView().mAH.get(
ActivityAllAppsContainerView.AdapterHolder.WORK).mRecyclerView;
rv.getApps().getAdapterItems().remove(mPosition);
// Remove the educard fast scroll section.
rv.getApps().getFastScrollerSections().remove(0);
rv.getAdapter().notifyItemRemoved(mPosition);
}
}