mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-04 14:15:38 +00:00
parent
80a96aa83c
commit
469f41b955
@ -66,7 +66,7 @@ public abstract class GiphyFragment extends Fragment implements LoaderManager.Lo
|
|||||||
public void onLoadFinished(Loader<List<GiphyImage>> loader, List<GiphyImage> data) {
|
public void onLoadFinished(Loader<List<GiphyImage>> loader, List<GiphyImage> data) {
|
||||||
this.loadingProgress.setVisibility(View.GONE);
|
this.loadingProgress.setVisibility(View.GONE);
|
||||||
|
|
||||||
if (data.isEmpty()) noResultsView.setVisibility(View.VISIBLE);
|
if (data == null || data.isEmpty()) noResultsView.setVisibility(View.VISIBLE);
|
||||||
else noResultsView.setVisibility(View.GONE);
|
else noResultsView.setVisibility(View.GONE);
|
||||||
|
|
||||||
this.giphyAdapter.setImages(data);
|
this.giphyAdapter.setImages(data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user