Skip to content

onFragmentResult与onSupportVisible的关系 #866

@Ade-rui

Description

@Ade-rui

onFragmentResult与onSupportVisible的调用关系为,先onSupportVisible后onFragmentResult
这样有驳于activity的生命周期模仿,因为activity是先onActivitytResult后onResume
如果先onSupportVisible 后onFragmentResult,那么在onFragmentResult里拿到数据之后,只能再手动调用一次onSupportVisible里面的逻辑,这样就执行了两次类似刷新的逻辑。这让人很为难,希望作者能改进一下,再此也表达一下对作者的感谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions