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