![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ios
何超杰
http://hechaojie.com 技术、分享、价值...
展开
-
ios定时器NSTimer基本用法
1.定义定时器属性 #import <UIKit/UIKit.h> @interface SearchController : UIViewController{ } @property(retain,nonatomic) NSTimer* nsTime; @end 2.视图添加启动定时器按钮 - (void)viewDidLoad { [super viewDidLo...原创 2018-08-30 18:30:07 · 4235 阅读 · 0 评论 -
listview列表中TextView设置.setMovementMethod(LinkMovementMethod.getInstance())导致item事件失效
1.监听TextView的onTouch方法。代码如下: viewHolder.article_content.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { boolean ret = fal...原创 2018-08-30 18:31:06 · 3242 阅读 · 0 评论