forked from iwgang/SimplifySpan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
library/src/main/java/cn/iwgang/simplifyspan/other/OnClickableSpanListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
package cn.iwgang.simplifyspan.other; | ||
|
||
import android.text.style.ClickableSpan; | ||
import android.widget.TextView; | ||
|
||
import cn.iwgang.simplifyspan.customspan.CustomClickableSpan; | ||
|
||
/** | ||
* ClickableSpan Listener | ||
* Created by iWgang on 15/12/3. | ||
* https://github.com/iwgang/SimplifySpan | ||
*/ | ||
public interface OnClickableSpanListener { | ||
|
||
void onClick(TextView tv, String clickText, Object tag); | ||
void onClick(TextView tv, CustomClickableSpan clickableSpan); | ||
|
||
} |