Skip to content

Commit

Permalink
No, don't takeView in onFinishInflate
Browse files Browse the repository at this point in the history
Note that none of the sample code does.
  • Loading branch information
rjrjr committed Sep 18, 2015
1 parent 6a5f8a0 commit 0737c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ protected FramePathContainerView(Context context, AttributeSet attrs, PathContai
return this;
}

@Override protected void onFinishInflate() {
super.onFinishInflate();
}

@Override public void dispatch(Flow.Traversal traversal, final Flow.TraversalCallback callback) {
disabled = true;
container.executeTraversal(this, traversal, new Flow.TraversalCallback() {
Expand Down
5 changes: 2 additions & 3 deletions mortar/src/main/java/mortar/Presenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ public abstract class Presenter<V> {
};

/**
* Called to give this presenter control of a view, ideally from {@link
* android.view.View#onFinishInflate}. If a view is to be re-used, make an additional call from
* {@link android.view.View#onAttachedToWindow()}. (Redundant calls will safely no-op.) Sets the
* Called to give this presenter control of a view, typically from
* {@link android.view.View#onAttachedToWindow()}. Sets the
* view that will be returned from {@link #getView()}.
* <p/>
* This presenter will be immediately {@link BundleService#register registered}
Expand Down

0 comments on commit 0737c17

Please sign in to comment.