-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 12.2 KB
/
index.html
1
<!DOCTYPE html><html lang="zh-CN"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta name="description" content="good good study"><link rel="stylesheet" type="text/css" href="//fonts.loli.net/css?family=Source+Code+Pro"><link rel="stylesheet" type="text/css" href="/css/style.css?v=2.0.5"><link rel="stylesheet" type="text/css" href="/css/highlight.css?v=2.0.5"><link rel="Shortcut Icon" href="/favicon.ico"><link rel="bookmark" href="/favicon.ico"><link rel="apple-touch-icon" href="/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png"><link rel="alternate" type="application/atom+xml" href="/atom.xml"><title>wzmyyj | Let life be beautiful like summer flowers.</title></head><body><div class="body_container"><div id="header"><div class="site-name"><h1 class="hidden">wzmyyj</h1><a id="logo" href="/.">wzmyyj</a><p class="description">Let life be beautiful like summer flowers.</p></div><div id="nav-menu"><a href="/." class="current"><i class="fa fa-home"> 首页</i></a><a href="/archives/"><i class="fa fa-archive"> 归档</i></a><a href="/about/"><i class="fa fa-user"> 关于</i></a><a href="/atom.xml"><i class="fa fa-rss"> 订阅</i></a></div><div id="search-form"><div id="result-mask" class="hide"></div><label><input id="search-key" type="text" autocomplete="off" placeholder="搜索"></label><div id="result-wrap" class="hide"><div id="search-result"></div></div><div class="hide"><template id="search-tpl"><div class="item"><a href="/{path}" title="{title}"><div class="title">{title}</div><div class="time">{date}</div><div class="tags">{tags}</div></a></div></template></div></div></div><div id="layout" class="layout-g"><div class="layout-l"><div class="content_container"><div class="post"><h2 class="post-title"><a href="/2020/07/21/android_10/">IM中群消息发送者信息刷新方案</a></h2><div class="post-meta"><p><span class="date">2020-07-21</span></p></div><div class="post-content"><h4 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h4><p>在IM项目(Android)中,聊天页面,进入会展示历史消息,而历史消息存下来的发送者信息可能并不是最新的,所以需要去刷新数据。单聊场景只需要刷新对方一个人信息,实现较为简单。但是到群聊,发送者众多,不可能每次进入页面都去获取全部成员的信息(数量大,获取缓慢),所以需要制定策略去实现好的效果。</p></div><p class="readmore"><a href="/2020/07/21/android_10/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/07/21/android_9/">IM中按名称拼音字母分组排序</a></h2><div class="post-meta"><p><span class="date">2020-07-21</span></p></div><div class="post-content"><h4 id="前言:"><a href="#前言:" class="headerlink" title="前言:"></a>前言:</h4><p>在IM项目(Android项目)中,例如群成员列表,通讯录(仿微信)等等。往往会按名称首字母分组并排序。从而方便用户检索。</p></div><p class="readmore"><a href="/2020/07/21/android_9/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/07/21/android_8/">IM项目中群成员获取与缓存策略</a></h2><div class="post-meta"><p><span class="date">2020-07-21</span></p></div><div class="post-content"><h4 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h4><p>在IM项目(Android)中,我们需要获取群成员,往往数据较大,获取缓慢,所以需要做个缓存,提升用户体验。</p></div><p class="readmore"><a href="/2020/07/21/android_8/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/07/20/story_2/">小故事:未熟的果实</a></h2><div class="post-meta"><p><span class="date">2020-07-20</span></p></div><div class="post-content"><h4 id="故事"><a href="#故事" class="headerlink" title="故事"></a>故事</h4><p>某个场景。 </p></div><p class="readmore"><a href="/2020/07/20/story_2/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/07/19/android_7/">IM项目中的自定义小表情实现</a></h2><div class="post-meta"><p><span class="date">2020-07-19</span></p></div><div class="post-content"><h3 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h3><p>在im项目(Android)中,用户发消息,喜欢在文字中嵌入一些小表情,以表达发送者当时的情感。除了系统输入法自带的emoji表情(emoji其实是特殊的文字)外。项目希望带一些更漂亮,带产品特色文化的自定义小表情(小图片)。</p></div><p class="readmore"><a href="/2020/07/19/android_7/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/05/12/android_6/">TextView识别文本中的超链接并能点击跳转</a></h2><div class="post-meta"><p><span class="date">2020-05-12</span></p></div><div class="post-content"><h4 id="需求:"><a href="#需求:" class="headerlink" title="需求:"></a>需求:</h4><p>如题所诉。需要识别出文本中的链接,并显示成超链接的UI样式。点击能够跳转打开网页(最好是自己app内部的WebView。)</p></div><p class="readmore"><a href="/2020/05/12/android_6/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/05/12/android_5/">ClickableSpan的一点点摸索</a></h2><div class="post-meta"><p><span class="date">2020-05-12</span></p></div><div class="post-content"><h2 id="ClickableSpan"><a href="#ClickableSpan" class="headerlink" title="ClickableSpan"></a>ClickableSpan</h2><p>ClickableSpan 用来实现 TextView里的文字局部的高亮和点击事件。</p></div><p class="readmore"><a href="/2020/05/12/android_5/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/05/11/android_4/">Fragment 监听返回按键</a></h2><div class="post-meta"><p><span class="date">2020-05-11</span></p></div><div class="post-content"><h2 id="监听返回键"><a href="#监听返回键" class="headerlink" title="监听返回键"></a>监听返回键</h2><p>Android开发中,我们用fragment承担页面UI主要的逻辑,简化activity逻辑。有个场景,fragment需要监听返回键。但fragment不像activity能感知物理按键。</p></div><p class="readmore"><a href="/2020/05/11/android_4/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2020/05/10/android_3/">LiveData实现消息总线</a></h2><div class="post-meta"><p><span class="date">2020-05-10</span></p></div><div class="post-content"><h2 id="消息总线"><a href="#消息总线" class="headerlink" title="消息总线"></a>消息总线</h2><p>Android开发中,我们常遇见不同页面之间要保持数据同步。送最初的onActivityResult,到后面的第三方库EventBus,RxBus,LiveEventBus。现在我们需要利用livedata自己写一个简单的消息总线。</p></div><p class="readmore"><a href="/2020/05/10/android_3/">阅读更多</a></p></div><div class="post"><h2 class="post-title"><a href="/2019/11/13/kotlin_1/">kotlin使用let报java.lang.NoClassDefFoundError</a></h2><div class="post-meta"><p><span class="date">2019-11-13</span></p></div><div class="post-content"><h2 id="问题阐述"><a href="#问题阐述" class="headerlink" title="问题阐述"></a>问题阐述</h2><p>kotlin 运行这段代码报java.lang.NoClassDefFoundError错误(表示运行中找不到类的定义)。如下代码:</p></div><p class="readmore"><a href="/2019/11/13/kotlin_1/">阅读更多</a></p></div><nav class="page-navigator"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">下一页</a></nav></div></div><div class="layout-r"><div id="sidebar"><div class="search-pla"></div><div class="widget"><div class="widget-title"><i class="fa fa-xie"> 最新文章</i></div><ul class="post-list"><li class="post-list-item"><a class="post-list-link" href="/2020/07/21/android_10/">IM中群消息发送者信息刷新方案</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/07/21/android_9/">IM中按名称拼音字母分组排序</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/07/21/android_8/">IM项目中群成员获取与缓存策略</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/07/20/story_2/">小故事:未熟的果实</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/07/19/android_7/">IM项目中的自定义小表情实现</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/05/12/android_6/">TextView识别文本中的超链接并能点击跳转</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/05/12/android_5/">ClickableSpan的一点点摸索</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/05/11/android_4/">Fragment 监听返回按键</a></li><li class="post-list-item"><a class="post-list-link" href="/2020/05/10/android_3/">LiveData实现消息总线</a></li><li class="post-list-item"><a class="post-list-link" href="/2019/11/13/kotlin_1/">kotlin使用let报java.lang.NoClassDefFoundError</a></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-biao"> 标签</i></div><div class="tagcloud"><a href="/tags/android/" style="font-size: 15px;">android</a> <a href="/tags/设计模式/" style="font-size: 15px;">设计模式</a> <a href="/tags/IT/" style="font-size: 15px;">IT</a> <a href="/tags/java/" style="font-size: 15px;">java</a> <a href="/tags/故事/" style="font-size: 15px;">故事</a> <a href="/tags/图片/" style="font-size: 15px;">图片</a> <a href="/tags/kotlin/" style="font-size: 15px;">kotlin</a></div></div><div class="widget"><div class="widget-title"><i class="fa fa-archive"> 归档</i></div><ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/">2020</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/">2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/">2018</a><span class="archive-list-count">16</span></li></ul></div><div class="widget"><div class="widget-title"><i class="fa fa-you"> 友情链接</i></div><ul></ul><a href="http://shiyi.today/" title="李昊昊:诗意" target="_blank">李昊昊:诗意</a><ul></ul><a href="https://wangzeliangbsd.github.io/" title="王亮亮:WZL Blog" target="_blank">王亮亮:WZL Blog</a><ul></ul><a href="https://foreverlf.github.io/" title="方胖子:ForeverLF" target="_blank">方胖子:ForeverLF</a><ul></ul><a href="https://zqhgit.github.io/" title="曾小辉:Sprider" target="_blank">曾小辉:Sprider</a></div></div></div></div><a id="totop" href="#top"></a><div id="footer"><div class="footer-info"><p><a href="/baidusitemap.xml">网站地图</a> | <a href="/atom.xml">订阅本站</a> | <a href="/about/">联系博主</a></p><p><span> Copyright ©<a href="/." rel="nofollow">wzmyyj.</a></span><span> Theme by<a rel="nofollow" target="_blank" href="https://github.com/chaooo/hexo-theme-BlueLake"> BlueLake.</a></span><span> Powered by<a rel="nofollow" target="_blank" href="https://hexo.io"> Hexo.</a></span></p></div></div></div><script type="text/javascript" src="/js/search.json.js?v=2.0.5"></script><script type="text/javascript" src="/js/totop.js?v=2.0.5" async></script><script src="/live2dw/lib/L2Dwidget.min.js?0c58a1486de42ac6cc1c59c7d98ae887"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","model":{"scale":1,"hHeadPos":0.5,"vHeadPos":0.618,"jsonPath":"/live2dw/assets/assets/koharu.model.json"},"display":{"superSample":2,"width":100,"height":200,"position":"right","hOffset":0,"vOffset":-20},"mobile":{"show":false,"scale":0.1},"react":{"opacityDefault":1,"opacityOnHover":0.2}});</script></body></html>