mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-15 18:28:47 +00:00
Displays ID of sharer next to shared list (need to change to email)
This commit is contained in:
parent
5b149f63ce
commit
ba8f249346
@ -49,7 +49,7 @@ public class ShoppingListsAdapter extends BaseAdapter {
|
|||||||
|
|
||||||
TextView tvListName = (TextView) convertView.findViewById(R.id.shopping_list_name);
|
TextView tvListName = (TextView) convertView.findViewById(R.id.shopping_list_name);
|
||||||
if(curList.isShared()) {
|
if(curList.isShared()) {
|
||||||
tvListName.setText(curList.getName() + " (shared)");
|
tvListName.setText(curList.getName() + " (shared by " + curList.getOwner() + ")");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
tvListName.setText(curList.getName());
|
tvListName.setText(curList.getName());
|
||||||
|
|||||||
@ -94,7 +94,7 @@ public class ShoppingListsSwipeableAdapter extends BaseAdapter {
|
|||||||
binderHelper.bind(holder.swipeLayout, Integer.toString(curList.getListID()));
|
binderHelper.bind(holder.swipeLayout, Integer.toString(curList.getListID()));
|
||||||
|
|
||||||
if(curList.isShared()) {
|
if(curList.isShared()) {
|
||||||
holder.listName.setText(curList.getName() + " (shared)");
|
holder.listName.setText(curList.getName() + " (shared by " + curList.getOwner() + ")");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
holder.listName.setText(curList.getName());
|
holder.listName.setText(curList.getName());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user