Skip to content

Commit

Permalink
1.小更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Jlanglang committed Aug 8, 2019
1 parent e53b761 commit d04cd28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @param <T>
*/
public abstract class TemplateActivity<T extends BasePresenter> extends BaseActivity<T>
implements ToolbarView, BaseView {
implements ToolbarView {
private ToolbarHelper mToolbarHelper;
private ViewGroup mRootView;
private ToolbarOptions toolbarOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.baozi.mvp.presenter.BasePresenter;
import com.baozi.mvp.tempalet.helper.toolbar.ToolbarHelper;
import com.baozi.mvp.tempalet.options.ToolbarOptions;
import com.baozi.mvp.view.BaseView;
import com.baozi.mvp.view.ToolbarView;

/**
Expand All @@ -26,7 +25,7 @@
* @param <T>
*/
public abstract class TemplateFragment<T extends BasePresenter> extends BaseFragment<T>
implements ToolbarView, BaseView {
implements ToolbarView {
private ToolbarHelper mToolbarHelper;
private ViewGroup rootView;
private ToolbarOptions toolbarOptions;
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/com/baozi/mvp/view/ToolbarView.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ public interface ToolbarView extends BaseView {
@LayoutRes
int getToolbarLayout();


/**
* 回退
*/
void onBackPressed();


View getContentView();

ToolbarOptions getToolbarOptions();
Expand Down

0 comments on commit d04cd28

Please sign in to comment.