activities: Replace expression with the lambda equivalent.

This commit is contained in:
ardevd 2018-04-19 14:52:48 +02:00
parent 62f874cde0
commit 76d3430983

View file

@ -116,9 +116,7 @@ public class ActivitiesActivity extends FileActivity implements ActivityListInte
ThemeUtils.setColoredTitle(actionBar, getString(R.string.drawer_item_activities));
}
swipeListRefreshLayout.setOnRefreshListener(() -> {
mActionListener.loadActivites(null);
}
swipeListRefreshLayout.setOnRefreshListener(() -> mActionListener.loadActivites(null)
);
// Since we use swipe-to-refresh for progress indication we can hide the inherited