<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[杭州_小陆的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/nideshouhu</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; nideshouhu]]></copyright><item><title><![CDATA[关于Android中使用RN单bridge加载bundle时图片资源加载问题分析]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/121634160</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/121634160</guid><author>nideshouhu</author><pubDate>Tue, 30 Nov 2021 15:40:38 +0800</pubDate><description><![CDATA[这里写自定义目录标题问题分析解决方案

当业务发展到一定地步的时候，业务的bundle可能会变大，也可能会有动态下载新的业务包到本地的逻辑，当要加载到本地业务包的时候加载业务资源是一个问题，其实Android这块官网已经默认实现了加载本地资源包的问题，这种情况在多bridge下是没问题的，但是一单用到单bridge下就会出现问题，我们主要说一下单bridge下加载的资源路径切换问题

问题

在单bridge加载的情况下，如果先加载apk内部的bundle，那么后续的资源都会从assets下去找，如果第一次]]></description><category></category></item><item><title><![CDATA[git 回撤第一条提交记录]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/100585902</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/100585902</guid><author>nideshouhu</author><pubDate>Fri, 06 Sep 2019 20:12:05 +0800</pubDate><description><![CDATA[我们都知道git reset 或者git revert可以回退代码，但没法回退第一条，可以用下面命令回退
git update-ref -d HEAD


]]></description><category></category></item><item><title><![CDATA[关于AS项目下class.getClassLoader().getResourceAsStream()为null的问题]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/100562021</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/100562021</guid><author>nideshouhu</author><pubDate>Thu, 05 Sep 2019 17:36:25 +0800</pubDate><description><![CDATA[最近在一个java项目中用到这个方法，在copy到library项目中我发现获取的返回值一直为null，然后我就怀疑失败不是目录不对，于是我就放在了res目录下，src目录下还是不行，后来发现在项目中我有使用maven，于是在main下(java同根目录下)添加了一个Resources目录，然后把文件放到这个目录下就可以愉快的获取了。

have a nice day！

...]]></description><category></category></item><item><title><![CDATA[关于ast抽象语法树JcImport和JCCompilationUnit的用法]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/90757952</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/90757952</guid><author>nideshouhu</author><pubDate>Mon, 03 Jun 2019 20:13:11 +0800</pubDate><description><![CDATA[最近在做抽象语法树的功能，一开始很懵逼，非常感谢大佬提供的类属性解释文章，这才开始明白如何去写。
博客地址：https://www.jianshu.com/p/68027eaf45ad
关于如何创建注解处理器我这儿就不说了，网上有很多方式，如下：
https://blog.youkuaiyun.com/a1527238987/article/details/80379834
废话不多说，现在有一些需求，需要在...]]></description><category></category></item><item><title><![CDATA[仿咔叽分享页层级滑动效果]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/79732183</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/79732183</guid><author>nideshouhu</author><pubDate>Wed, 28 Mar 2018 20:04:29 +0800</pubDate><description><![CDATA[最近公司需求要做一个分享解锁的功能，其中有一个more按钮是调用系统分享app的，具体是这样的：



  Intent shareIntent = new Intent();
  shareIntent.setAction(Intent.ACTION_SEND);
  shareIntent.setType(&quot;text/plain&quot;);
  shareIntent.putExtra(Intent...]]></description><category></category></item><item><title><![CDATA[关于android加固的简单实现------Application替换]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/77951600</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/77951600</guid><author>nideshouhu</author><pubDate>Tue, 12 Sep 2017 22:41:53 +0800</pubDate><description><![CDATA[android简单加固中application替换过程中遇到的坑]]></description><category></category></item><item><title><![CDATA[android 关于自定义解锁动画和实现全屏的解决方案]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/69523591</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/69523591</guid><author>nideshouhu</author><pubDate>Fri, 07 Apr 2017 10:27:40 +0800</pubDate><description><![CDATA[先说说缘由吧，最近项目要研究在亮屏的时候用展示一个开屏动画，我一想这个不难吧，截获亮屏的广播事件 Intent.ACTION_SCREEN_ON然后处理对应的事件就好了，但我发现好像没有正确的api可以修改锁屏壁纸，然后我就参考下面这个哥们自定义锁屏解决了一部分需求（有一个缺陷不能处理有锁屏密码的情况）。 
http://blog.youkuaiyun.com/xiaoyu940601/article/deta]]></description><category></category></item><item><title><![CDATA[JobScheduler使用中遇到的onStopJob没有回调的问题]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/54287387</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/54287387</guid><author>nideshouhu</author><pubDate>Mon, 09 Jan 2017 11:29:31 +0800</pubDate><description><![CDATA[JobScheduler使用中onStopJob的回调问题]]></description><category></category></item><item><title><![CDATA[关于微信Tinker热修复自己的集成方式以及问题]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/53945004</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/53945004</guid><author>nideshouhu</author><pubDate>Fri, 30 Dec 2016 17:11:24 +0800</pubDate><description><![CDATA[关于微信tinker热修复自己的集成之路]]></description><category></category></item><item><title><![CDATA[RecyclerView横向滑动布局宽度wrap_content无效]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/53409748</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/53409748</guid><author>nideshouhu</author><pubDate>Wed, 30 Nov 2016 16:19:57 +0800</pubDate><description><![CDATA[关于RecyclerView中设置横向滑动布局时无法设置wap_content的问题解决方案]]></description><category></category></item><item><title><![CDATA[ionic中自定义插件的问题]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/52588687</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/52588687</guid><author>nideshouhu</author><pubDate>Mon, 19 Sep 2016 19:46:32 +0800</pubDate><description><![CDATA[ionic中自定义插件的问题]]></description><category></category></item><item><title><![CDATA[RecyclerView嵌套ListView解决点击事件问题]]></title><link>https://blog.youkuaiyun.com/nideshouhu/article/details/52474178</link><guid>https://blog.youkuaiyun.com/nideshouhu/article/details/52474178</guid><author>nideshouhu</author><pubDate>Thu, 08 Sep 2016 18:57:41 +0800</pubDate><description><![CDATA[RecyclerView嵌套ListView响应父RecyclerView的点击事件]]></description><category></category></item></channel></rss>