书虫

Results 13 comments of 书虫

the patch below should fix the leak ``` + @Override + protected void onDetachedFromWindow() { + super.onDetachedFromWindow(); + if (handler != null) { + handler.removeCallbacksAndMessages(null); + } + } +...

maybe you can still place the patch in activity, what\`s the matter is how to make fragment talk with activity, there are several ways to do that.

我也遇到获取不到ANR这种情况了。用低版本手机试了下,一开始是可以获取ANR了,但是今天再试的时候就又获取不到了。试了两台低版本手机都不行。anrFastCallback可以回调,但是anrCallback不会。

agree to add the two-way auto sync #55, I hope this feature can be implemented soon.

> Does this function not exist already? To be simple, Seadroid App (latest version 1.5.1) doesn`t support two-way auto sync of any folders yet. > Is the Seadroid app just...

@moritzschaefer Currently, it supports one way sync of a single file, any modifications on the file will be auto uploaded to the cloud. Now we plan to support one way...

产品让做一个有如下功能的页面,支持toolbar透明+头部+上滑悬浮条(tabLayout)+viewpager(含三个tab,各自支持上拉加载)。效果如下 ![screenshot_2016-06-25-22-15-28_cn com nggirl ngus](https://cloud.githubusercontent.com/assets/2975850/16357214/6cfc86de-3b22-11e6-9ce8-d7760034b4c6.png) 本来想当然地认为CollapsingToolbarLayout+AppBarLayout可以标悬浮tablayout并做出toolbar折叠的透明渐变效果,但是写起来才发现到处都是坑。 由于项目其他模块使用的是PullToRefreshListView,但是它不能很好的和CollapsingToolbarLayout协作,导致滑动列表时有**卡顿**,甚至出现瞬间**快速滑动**的问题。本来想改成RecyclerView,但是它又不支持上拉加载的功能,同时很难做出PullToRefreshListView的那种“很丑”的上拉拖拽动画效果,这种效果虽然丑,但是产品坚持要做理由是为了和其他页面“统一”,所以使用RecyclerView的路就断了。 一顿折腾之后才明白,material风格的组件要慎用,国内的设计师基本是拿IOS的设计图让android来实现的,使用了material之后会出现很多坑,比如上面说的卡顿的问题,还有就是设计对CollapsingToolbarLayout折叠时的效果不满意,说不够流畅。 为了解决上面的卡顿的问题,我找到了一个不错的demo,[RefreashTabView](https://github.com/FreeSunny/RefreashTabView),但是无奈每天任务都排满了,没时间迁移过去,也不知道有多少坑。有做过类似风格的大神还请分享下经验。

项目从开始就使用的是环信,可能是我们项目质量太差,使用中遇到如下坑 1. 环信新消息推送经常不能及时送达 2. 环信账户挤下线时被挤的客户端收不到下线的事件 3. 环信账户登录和登出时账户信息管理混乱 这些问题导致后续版本维护起来很麻烦。不过也可能是我们集成的时候不恰当导致的。

we need more detailed descriptions about your requirements, like in which way you want to name files, what exactly the renaming rule is, etc.

if you mean camera upload part, it uploads only on wifi right now