MainView.java 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package com.edufound.android.xyyf.main;
  2. import android.app.Activity;
  3. import android.webkit.WebView;
  4. import android.widget.FrameLayout;
  5. import com.edufound.android.xyyf.base.BaseView;
  6. import com.google.gson.Gson;
  7. public interface MainView extends BaseView {
  8. //把View拋出給Presenter調用
  9. void loadUrl(String url);
  10. @Override
  11. void DisconnNetWork();
  12. @Override
  13. void ConnNeWork();
  14. void loadJsMehtod(String method);
  15. Activity getActivity();
  16. void setActivityPay(boolean bool);
  17. boolean getActivityPay();
  18. void acPostDelayed(Runnable runnable, int time);
  19. void destroyWeb();
  20. void hideLoading();
  21. void stopWebView();
  22. void resumeWebView();
  23. void loadJSMehtodPost(String method);
  24. // void setVideoFragment(String params_json);
  25. //
  26. // void setVideoLayout(String params_json);
  27. //
  28. // void removeFragmentVideo();
  29. //
  30. // void changeVideoRadius(int radius);
  31. Gson getGson();
  32. WebView getWebView();
  33. FrameLayout getRootView();
  34. MainPersenter getPersenter();
  35. }