/*
 * Copyright 2016 Peter Kenji Yamanaka
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.pyamsoft.pydroid.base;

public interface Presenter<I> {

  void onCreateView(I view);

  void onDestroyView();

  void onResume();

  void onPause();

  void onDestroy();
}

@@ -673,99 +673,696 @@
 %0A%0A  
-void onCreateView(I view);%0A%0A  void onDestroyView();%0A%0A  void onResume();%0A%0A  void onPause();%0A
+/**%0A   * Bind the View to this presenter%0A   *%0A   * Usually called during the onCreate/onCreateView calls%0A   */%0A  void onCreateView(I view);%0A%0A  /**%0A   * Unind the View to this presenter%0A   *%0A   * Usually called during the onDestroy/onDestroyView calls%0A   */%0A  void onDestroyView();%0A%0A  /**%0A   * Used for registering the presenter to various bus subscriptions%0A   *%0A   * Generally called during onResume%0A   */%0A  void onResume();%0A%0A  /**%0A   * Used for unregistering the presenter from various bus subscriptions%0A   *%0A   * Generally called during onPause%0A   */%0A  void onPause();%0A%0A  /**%0A   * Called once the presenter is finally discarded%0A   *%0A   * Cleans up any remaining references to data%0A   */
 %0A  v

Document the various named methods in the presenter