@Override public void onClick(View v) { mListener.onClearButtonClick(); if (mHelper.isServiceStarted()) mHelper.clearData(); }
public void clearData() { mHelper.clearData(); }