mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-13 09:48:47 +00:00
Added links to store sites in Store page
This commit is contained in:
parent
81a69291fe
commit
c23b980ff2
@ -94,10 +94,10 @@ public class ShoppingListsAdapter extends BaseAdapter implements Requestor.Recei
|
||||
@Override
|
||||
public void run() {
|
||||
if(sharee.getShareWithEmail().equals(am.getEmail(requestor))) {
|
||||
tvListName.setText(curList.getName() + " (sh. me)");
|
||||
tvListName.setText(curList.getName() + " (sh. by me)");
|
||||
}
|
||||
else {
|
||||
tvListName.setText(curList.getName() + " (sh. " + sharee.getShareWithEmail() + ")");
|
||||
tvListName.setText(curList.getName() + " (sh. by " + sharee.getShareWithEmail() + ")");
|
||||
}
|
||||
|
||||
String listText = tvListName.getText().toString();
|
||||
|
||||
@ -61,10 +61,10 @@ public class ShoppingListsSwipeableAdapter extends BaseAdapter implements Reques
|
||||
@Override
|
||||
public void run() {
|
||||
if(sharee.getShareWithEmail().equals(am.getEmail(requestor))) {
|
||||
holder.listName.setText(curList.getName() + " (sh. me)");
|
||||
holder.listName.setText(curList.getName() + " (sh. by me)");
|
||||
}
|
||||
else {
|
||||
holder.listName.setText(curList.getName() + " (sh. " + sharee.getShareWithEmail() + ")");
|
||||
holder.listName.setText(curList.getName() + " (sh. by " + sharee.getShareWithEmail() + ")");
|
||||
}
|
||||
|
||||
String listText = holder.listName.getText().toString();
|
||||
|
||||
@ -3,6 +3,7 @@ package com.example.listify.ui.store;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Paint;
|
||||
import android.net.Uri;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.Button;
|
||||
@ -111,6 +112,7 @@ public class StoreFragment extends Fragment {
|
||||
name.setText(storeNames.get(position));
|
||||
name.setTextColor(Color.parseColor("#0000FF"));
|
||||
name.setTextSize(20);
|
||||
name.setPaintFlags(name.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
name.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user