BookmarkWidgetService.java 文件源码

java
阅读 31 收藏 0 点赞 0 评论 0

项目:AndroidChromium 作者:
@BinderThread
private Bookmark getBookmarkForPosition(int position) {
    if (mCurrentFolder == null) return null;

    // The position 0 is saved for an entry of the current folder used to go up.
    // This is not the case when the current node has no parent (it's the root node).
    if (mCurrentFolder.parent != null) {
        if (position == 0) return mCurrentFolder.folder;
        position--;
    }
    return mCurrentFolder.children.get(position);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号