android
这个我不会
这个作者很懒,什么都没留下…
展开
-
报错: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 · 9489 阅读 · 0 评论 -
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 · 229 阅读 · 0 评论 -
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 · 181 阅读 · 0 评论 -
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 · 301 阅读 · 0 评论 -
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 · 157 阅读 · 0 评论