Create empty view for RecyclerViewFragment

This commit is contained in:
Phillip Hsu
2016-09-05 23:31:01 -07:00
parent 34930fa2b3
commit edf33240e6
7 changed files with 107 additions and 20 deletions
@@ -146,6 +146,11 @@ public class AlarmsFragment extends RecyclerViewFragment<
return new AlarmsCursorAdapter(this, mAlarmController);
}
@Override
protected int emptyMessage() {
return R.string.empty_alarms_container;
}
// TODO: We're not using EditAlarmActivity anymore, so move this logic somewhere else.
// We also don't need to delay the change to get animations working.
@Override