Skip to content

Commit

Permalink
Allow long press so users can copy and paste. This might cause issues:
Browse files Browse the repository at this point in the history
  • Loading branch information
box-android-jenkins committed Aug 6, 2016
1 parent 7a27b8a commit 29de8dc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ public class ChipCollaborationView extends TokenCompleteTextView<BoxInvitee> {

public ChipCollaborationView(Context context) {
super(context);
setLongClickable(true);
}

public ChipCollaborationView(Context context, AttributeSet attrs) {
super(context, attrs);
setLongClickable(true);
}

public ChipCollaborationView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
setLongClickable(true);

}

@Override
Expand All @@ -41,7 +45,6 @@ protected View getViewForObject(BoxInvitee person) {

TextView tvInitials = (TextView) view.findViewById(R.id.collaborator_initials);
SdkUtils.setInitialsThumb(getContext(), tvInitials, person.getName());

return view;
}

Expand Down

0 comments on commit 29de8dc

Please sign in to comment.