public class LinkageTextView extends AppCompatTextView implements ILinkageScroll
| Constructor and Description |
|---|
LinkageTextView(android.content.Context context) |
LinkageTextView(android.content.Context context,
android.util.AttributeSet attrs) |
LinkageTextView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
LinkageScrollHandler |
provideScrollHandler()
获取子布局向 LinkageScrollLayout
LinkageScrollLayout 提供的滚动处理接口 |
void |
setChildLinkageEvent(ChildLinkageEvent event)
设置内联事件的回调接口
|
public LinkageTextView(android.content.Context context)
public LinkageTextView(android.content.Context context,
android.util.AttributeSet attrs)
public LinkageTextView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public void setChildLinkageEvent(ChildLinkageEvent event)
ILinkageScrollsetChildLinkageEvent in interface ILinkageScrollevent - ChildLinkageEvent that the top/bottom view holdspublic LinkageScrollHandler provideScrollHandler()
ILinkageScrollLinkageScrollLayout 提供的滚动处理接口provideScrollHandler in interface ILinkageScroll