Skip to content

如果一个activity有很多fragment,封装的思路是怎么样的? #11

Open

Description

@zhangxiann

如果一个activity有很多fragment,那么写起来的代码就会有很多重复的,如何封装?

Activity

  1. jerry12547 commented on Jun 6, 2017

    @jerry12547

    抽取baseFragment啊 里面放共性方法 然后差不多的继承就是了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions