Add support for talkback on subscription and discovery list, Fixes #3563

This commit is contained in:
Masoud Pezeshkzade 2019-10-27 18:14:39 +03:30
parent c6fd6d0e53
commit 360446a445
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,8 @@ public class FeedDiscoverAdapter extends BaseAdapter {
final PodcastSearchResult podcast = getItem(position); final PodcastSearchResult podcast = getItem(position);
holder.imageView.setContentDescription(podcast.title);
Glide.with(mainActivityRef.get()) Glide.with(mainActivityRef.get())
.load(podcast.imageUrl) .load(podcast.imageUrl)
.apply(new RequestOptions() .apply(new RequestOptions()

View File

@ -84,6 +84,7 @@ public class SubscriptionsAdapter extends BaseAdapter implements AdapterView.OnI
if (feed == null) return null; if (feed == null) return null;
holder.feedTitle.setText(feed.getTitle()); holder.feedTitle.setText(feed.getTitle());
holder.imageView.setContentDescription(feed.getTitle());
holder.feedTitle.setVisibility(View.VISIBLE); holder.feedTitle.setVisibility(View.VISIBLE);
int count = itemAccess.getFeedCounter(feed.getId()); int count = itemAccess.getFeedCounter(feed.getId());
if(count > 0) { if(count > 0) {