小小强

Results 14 comments of 小小强

另外这篇使用fragment的方式处理onActivityResult的方式感觉很神奇,希望能启发作者。如果有更好的解决方式,当我没说!嘻嘻。 https://juejin.im/post/5a4611786fb9a0451a76b565

一个小疑问,这里必须在主线程是出于什么考虑呢? ![微信截图_20190528112632](https://user-images.githubusercontent.com/20378988/58448830-a868ba00-813b-11e9-9d14-a7767e045ea9.png) 以为有时候拿服务可能需要在子线程操作,而且服务配合Rxjava使用的话,可能会多出来线程切换的代码。

另外请教下,现在我们的项目后台可以精准控制到按钮级别,也就是说,每一个按钮的点击,跳转到哪个页面都可以通过后台配置的路由来控制,那么现在注解的书写方式就有点不方便。除了配置成标准路由,在activity下配置Intent过滤以外,还有更好的实现方式吗?因为我们团队的成员都说每个activity下都配置Intent过滤太繁琐了,写了很多重复性的代码,所以来问问。

那能不能把下面这个类暴露出来呢? ![微信截图_20190530132540](https://user-images.githubusercontent.com/20378988/58610598-907d6b80-82de-11e9-93e8-1a503b7cd7d8.png) 这样我们就可以在拦截器中动态去替换原来的routerpath,就可以实现了,伪代码如下: ```java Routerfit.register(AppRouter.class).go(String 路由路径); @Go("/router/path/common") boolean go(@Extra("router")String routerPath); ```

开源氛围很重要,希望你们相处融洽!!!我这个小菜鸟还在努力提升中,希望将来也能写出像你们这么优秀的库!!!

I have the same problem! ```groovy implementation "com.github.bumptech.glide:glide:4.13.0" kapt "com.github.bumptech.glide:compiler:4.13.0" ``` I use like this: ```java Glide.with(context) .asGif() .load(R.mipmap.audio_player) .into(binding.imgPlayer); ```

可以参考OkGo这个开源库的缓存策略,这个库就支持楼主需求的这种缓存模式

https://www.2cto.com/kf/201802/721207.html 大概是这个原因引起的 希望博主能尽快修复吧

I have the same problem ! I use carousel within a vertical RecyclerView+Navigation,but carousel not saved the position.