![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
面试题收录
侃树
这个作者很懒,什么都没留下…
展开
-
invalidate()和postInvalidate() 的区别
一 、invalidate()源码中的注释: /** * Invalidate the whole view. If the view is visible, * {@link #onDraw(android.graphics.Canvas)} will be called at some point in * the future. * <p>原创 2016-07-24 17:24:22 · 502 阅读 · 0 评论 -
View的相关面试题(待补充)
1 常用组件的使用:ListView、RecyclerView及Adapter的使用2 View之间的继承关系3 Invalidate与postInvalidate的区别前者是在UI线程自身中使用,而后者在非UI线程中使用。怎么说呢?Android提供了Invalidate方法实现界面刷新,但是Invalidate不能直接在线程中调用,因为他是违背了单线程模型:Android UI操作并不是线程安全原创 2016-07-25 16:17:31 · 732 阅读 · 0 评论 -
国内一线互联网公司内部面试题库
原作者:GitHub: https://github.com/JackyAndroid原作者:CSDN: http://blog.csdn.net/rain_butterfly国内一线互联网公司内部面试题库以下面试题来自于百度、小米、乐视、美团、58、猎豹、360、新浪、搜狐内部题库熟悉本文中列出的知识点会大大增加通过前两轮技术面试的几率。欢迎一线公司员工提交内部面试题库,欢迎star。一、java转载 2016-07-20 09:14:57 · 1434 阅读 · 0 评论