Skip to content

Commit ca8190a

Browse files
committed
on restart
1 parent 3590f7e commit ca8190a

File tree

1 file changed

+8
-0
lines changed
  • app/src/main/java/ru/plumsoftware/notebook/presentation/activities/main/view

1 file changed

+8
-0
lines changed

app/src/main/java/ru/plumsoftware/notebook/presentation/activities/main/view/MainActivity.java

+8
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,12 @@ public void initRecyclerView(List<Note> notes, RecyclerView.LayoutManager layout
9494
recyclerViewNotes.setAdapter(noteAdapter);
9595
recyclerViewNotes.setVisibility(View.VISIBLE);
9696
}
97+
98+
@Override
99+
protected void onRestart() {
100+
super.onRestart();
101+
102+
// Load notes
103+
presenter.initNotes(new Conditions.All());
104+
}
97105
}

0 commit comments

Comments
 (0)