private void merge(Photos photos) { mSwipeRefreshLayout.setRefreshing(false); mPhotos.mergeWith(photos); mPhotosAdapter.notifyDataSetChanged(); }