Display first title and language in wikivoyage search list
This commit is contained in:
parent
9f12c9deb4
commit
c46a3597b8
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ public class SearchRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerView
|
||||||
holder.icon.setImageDrawable(
|
holder.icon.setImageDrawable(
|
||||||
iconsCache.getIcon(R.drawable.ic_action_placeholder_city, R.color.icon_color)
|
iconsCache.getIcon(R.drawable.ic_action_placeholder_city, R.color.icon_color)
|
||||||
);
|
);
|
||||||
holder.title.setText(item.getArticleTitle().toString());
|
holder.title.setText(item.getArticleTitle().get(0));
|
||||||
holder.description.setText(item.getLang().toString());
|
holder.description.setText(item.getLang().get(0));
|
||||||
holder.divider.setVisibility(lastItem ? View.GONE : View.VISIBLE);
|
holder.divider.setVisibility(lastItem ? View.GONE : View.VISIBLE);
|
||||||
holder.shadow.setVisibility(lastItem ? View.VISIBLE : View.GONE);
|
holder.shadow.setVisibility(lastItem ? View.VISIBLE : View.GONE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue