Add support for talkback on subscription and discovery list, Fixes #3563
This commit is contained in:
parent
c6fd6d0e53
commit
360446a445
|
@ -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()
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue