1. connect service from user A will trigger process starts for user A if not started already
2. scroll RecyclerView:
int pos = layoutManager.findFirstVisibleItemPosition();
int offset = layoutManager.findViewByPosition(pos) == null ? 0 : layoutManager.findViewByPosition(pos).getTop();
mLibraryNode.setScrollPosition(pos);
mLibraryNode.setScrollOffset(offset);
then:
private void scrollToSavedPosition(LinearLayoutManager lm) {
lm.scrollToPositionWithOffset(mLibraryNode.getScrollPosition(), mLibraryNode.getScrollOffset());
}"
3. to access content provider cross user profile, we need specify the user in the uri, like this
content://10@media/….