Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 530 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 530 Bytes

Today

It is a MVP example app.

It can find history events happened on the same day.

  • demo gif

  • usage Insert these code in your activity onCreate:

mainPresenter = new MainPresenter(format.format(new Date()),this);
mainPresenter.loadData();

make your activity implements Mainview,then you can loadLastData or loadNextData:

case R.id.lastBtn:
            mainPresenter.loadLastData();
            break;
case R.id.nextBtn:
            mainPresenter.loadNextData();
            break;