- 博客(5)
- 收藏
- 关注
原创 报错:MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O
MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)Stack trace:com.android.tools.r8.errors.a: MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 2.
2021-10-29 10:06:46 9948
翻译 Handler类源码
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
2017-04-23 17:03:43 199
翻译 MessageQueue类源码
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
2017-04-23 17:02:11 248
翻译 Message类源码
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
2017-04-23 16:59:58 326
原创 Handler,Looper,Message
一个线程只能有一个Looper实例,一个Looper只能有一个MessageQueue实例假设当前有一个线程a,在a中执行以下操作:Looper调用Looper.prepare()方法,在线程a中创建一个Looper实例,同时被创建的这个Looper对象中包含了一个MessageQueue对象。之后调用Looper.loop()方法,loop()方法内有一个for(;;)循
2017-04-23 15:35:25 172
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人