源碼解析public boolean onTouchEvent(MotionEvent event) {final float x = even...
原始崩潰信息: java.lang.IllegalArgumentException: No view found for id 0x7f110...
標(biāo)注不對(duì)
兼容21及以下版本 fun EditText.setHintImageSpan(hintTips: String?, drawable: Int...
實(shí)現(xiàn)方案 父View不攔截事件踱蠢,并實(shí)現(xiàn)NestedScrollingParent2接口。上滑時(shí)父view優(yōu)先處理滑動(dòng)直砂,下滑時(shí)子view優(yōu)先處理滑...
情況一 lifecycleScope.launch(Dispatchers.IO){ delay(5000) click.text ="...
Android6.0普通權(quán)限normal permission 和 危險(xiǎn)權(quán)限dangerous permission NormalPermiss...
welcome to the co-routines codelab ,in this codelab you will learn the b...
寬度要寫死,不然不跑 class MarqueeTextView(context: Context, attr: AttributeSet) :...