pengkshu
pengkshu
@sjudd hi, I also use Volley to load bitmap,the memory usage is stable a certain level(almost 30M). But if I use Glide, it will increases(almost 50M). Will Glide clean memory...
@TWiStErRob hi Glide.with(mContext).load(imageUrl).crossFade().override(114,114).into(imageView); This is how I use Glide in my app.I had set a certain sizes of bitmap. And imageView‘s property in xml is : android:layout_width="match_parent" android:layout_height="80dp" android:adjustViewBounds="true" android:scaleType="centerCrop"
@sjudd thinks!
我也发现onEventMainThread不一定运行在主线程,通过打印线程ID,发现在哪个线程发送post消息,onEventMainThread就在哪个线程运行。要是这样岂不是无意义了?线程间不能通信。使用的是最新的3.0的beta1的jar包。