|
24 | 24 | <meta property="og:url" content="/">
|
25 | 25 | <meta property="og:description" content="Eureka is a elegant and powerful theme for Hugo.">
|
26 | 26 | <meta property="og:site_name" content="IO01 Blog">
|
27 |
| -<meta property="og:updated_time" content="2021-11-29T00:00:00+00:00"> |
| 27 | +<meta property="og:updated_time" content="2022-01-06T00:00:00+00:00"> |
28 | 28 | <meta property="article:section" content>
|
29 | 29 | <link rel=alternate type=application/rss+xml href=/index.xml title="IO01 Blog">
|
30 | 30 | <body class="flex flex-col min-h-screen">
|
|
68 | 68 | <div class="flex flex-col-reverse lg:flex-row justify-between">
|
69 | 69 | <div class=w-full>
|
70 | 70 | <div class=mb-4>
|
| 71 | +<a href=/posts/%E5%AD%90%E7%BA%BF%E7%A8%8B%E6%9B%B4%E6%96%B0-ui-%E5%85%A8%E8%A7%A3/ class="font-bold text-xl hover:text-eureka">子线程更新 UI 全解</a> |
| 72 | +</div> |
| 73 | +<div class=content> |
| 74 | +子线程更新 UI 异常设计理念及简单源码解析 初学者可能会犯在子线程更新 UI 的错误,例如: thread { imageView.setBackgroundColor(Color.RED) } 一旦运行,应用会直接崩溃并抛出异常,这也是我们 Android 开发的一条铁律 |
| 75 | +</div> |
| 76 | +<div class="flex flex-wrap flex-row items-center mt-2 text-tertiary-text"> |
| 77 | +<div class="mr-6 my-2"> |
| 78 | +<i class="fas fa-calendar mr-1"></i> |
| 79 | +<span>2022-01-06</span> |
| 80 | +</div> |
| 81 | +</div> |
| 82 | +</div> |
| 83 | +</div> |
| 84 | +</div> |
| 85 | +<div class=py-6> |
| 86 | +<div class="flex flex-col-reverse lg:flex-row justify-between"> |
| 87 | +<div class=w-full> |
| 88 | +<div class=mb-4> |
71 | 89 | <a href=/posts/%E4%BD%BF%E7%94%A8%E9%98%BF%E9%87%8C%E4%BA%91%E6%95%88%E5%90%8C%E6%AD%A5git%E4%BB%93%E5%BA%93%E5%88%B0github/ class="font-bold text-xl hover:text-eureka">使用阿里云效同步 Git 仓库到 Github</a>
|
72 | 90 | </div>
|
73 | 91 | <div class=content>
|
|
162 | 180 | </div>
|
163 | 181 | </div>
|
164 | 182 | </div>
|
165 |
| -<div class=py-6> |
166 |
| -<div class="flex flex-col-reverse lg:flex-row justify-between"> |
167 |
| -<div class=w-full> |
168 |
| -<div class=mb-4> |
169 |
| -<a href=/posts/%E4%BB%8E%E9%98%BF%E9%87%8C%E8%A7%84%E7%BA%A6%E8%B0%88%E8%B5%B7-%E5%8C%85%E8%A3%85%E7%B1%BB%E7%9A%84%E5%80%BC%E6%AF%94%E8%BE%83%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9/ class="font-bold text-xl hover:text-eureka">从阿里规约谈起-包装类的值比较注意事项</a> |
170 |
| -</div> |
171 |
| -<div class=content> |
172 |
| -前言 int、long 等基本数据类型值比较可以直接使用 == 比较,其包装类型:Integer、Long 如果直接使用 == 比较大小我们会发现一个神奇的现象。当然,阿里规约也对此做出强制规定: |
173 |
| -【强制】 所有的相同类型的包装类对象之间值的比较,全部使用 equals 方法比较。 |
174 |
| -</div> |
175 |
| -<div class="flex flex-wrap flex-row items-center mt-2 text-tertiary-text"> |
176 |
| -<div class="mr-6 my-2"> |
177 |
| -<i class="fas fa-calendar mr-1"></i> |
178 |
| -<span>2019-11-29</span> |
179 |
| -</div> |
180 |
| -<div class="mr-6 my-2"> |
181 |
| -<i class="fas fa-th-list mr-1"></i> |
182 |
| -<a href=/series/%E9%98%BF%E9%87%8C%E8%A7%84%E7%BA%A6/ class=hover:text-eureka>阿里规约</a> |
183 |
| -</div> |
184 |
| -</div> |
185 |
| -</div> |
186 |
| -</div> |
187 |
| -</div> |
188 | 183 | </div>
|
189 | 184 | </div>
|
190 | 185 | <ul class="pagination pagination-default">
|
|
0 commit comments