自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 8968

翻译 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 174

翻译 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 226

翻译 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 296

原创 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 152

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除