Verified Commit 27483cec authored by HashikD's avatar HashikD
Browse files

Changed Presenter as Class to Interface in MainActivity

parent 6f37537d
......@@ -27,7 +27,7 @@ import org.torproject.snowflake.presenters.MainActivityPresenter;
public class MainActivity extends AppCompatActivity implements MainFragmentCallback, MainActivityMVPContract.View {
private static final String TAG = "MainActivity";
int currentFragment;
MainActivityPresenter presenter;
MainActivityMVPContract.Presenter presenter;
//Indicates if model finished checking the date and reset served count if need be.
boolean isCheckDateFinished;
private Button settingsButton;
......@@ -29,6 +29,8 @@ public interface MainActivityMVPContract {
boolean isServiceRunning();
void detach();
void updateServedCount(int count);
void checkDate();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment