Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Making class TokenImageSpan public
- Made class TokenImageSpan public so that it can be accessed from outside.
- We need this class public so that we can call getSpans() on the EditText.
- Right now, this class is accessible, but crashes at runtime on devices
  with API less than lollipop and which have multidex enabled.
  • Loading branch information
sagar-waghmare-rsl committed Jan 11, 2017
commit 165063f31e5585653f60d37d20af1b7c3227a1b8
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ private void clearSelections() {
invalidate();
}

protected class TokenImageSpan extends ViewSpan implements NoCopySpan {
public class TokenImageSpan extends ViewSpan implements NoCopySpan {
private T token;

public TokenImageSpan(View d, T token, int maxWidth) {
Expand Down