240 发简信
IP属地:广东
  • onTouchEvent源码解析

    源码解析public boolean onTouchEvent(MotionEvent event) {final float x = even...

  • Resize,w 360,h 240
    java.lang.IllegalArgumentException: No view found for id 0x7f1108ca

    原始崩溃信息: java.lang.IllegalArgumentException: No view found for id 0x7f110...

  • EditText hint支持图标

    兼容21及以下版本 fun EditText.setHintImageSpan(hintTips: String?, drawable: Int...

  • RecyclerView嵌套滚动

    实现方案 父View不拦截事件,并实现NestedScrollingParent2接口。上滑时父view优先处理滑动,下滑时子view优先处理滑...

  • 协程线程问题

    情况一 lifecycleScope.launch(Dispatchers.IO){ delay(5000) click.text ="...

  • 6.0运行时权限与targetSdkVersion选择

    Android6.0普通权限normal permission 和 危险权限dangerous permission NormalPermiss...

  • 协程原理

    welcome to the co-routines codelab ,in this codelab you will learn the b...

  • textview跑马灯

    宽度要写死,不然不跑 class MarqueeTextView(context: Context, attr: AttributeSet) :...