coolBreezes

Results 14 issues of coolBreezes

博主您好 请问是直接在android studio上直接编写文档么,需要什么插件呢 关于图片,想问下是用什么工具绘制的呢 感谢博主分享o(* ̄︶ ̄*)o

imageView scaleType is FIT_XY, after change imageView size, screen display abnormal, like picture, ![image](https://user-images.githubusercontent.com/8476068/40764320-29486e0a-64db-11e8-95ca-7eace97a4cc6.png) ![image](https://user-images.githubusercontent.com/8476068/40764310-238deb98-64db-11e8-9be1-d5e653c70b48.png)

群主,看了您的源码,有个地方不是很明白, 在处理沉浸式的时候,viewStatusBarFill 布局是如何放到状态栏上面呢, 放到状态栏上面的布局为什么不会影响状态栏的显示呢 if (fillStatusBar && supportStatusBarLightMode) { int statusBarHeight = AppUtils.getStatusBarHeight(context); viewStatusBarFill = new View(context); viewStatusBarFill.setId(AppUtils.generateViewId()); viewStatusBarFill.setBackgroundColor(statusBarColor); LayoutParams statusBarParams = new LayoutParams(MATCH_PARENT, statusBarHeight); statusBarParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); addView(viewStatusBarFill, statusBarParams); }

下拉刷新会跟我自定义的拖动listview的item功能相互冲突, 所以我想在拖动的时候禁用下拉刷新的功能 但是调用 mXRefreshView.setPullRefreshEnable(false);方法没有效果

代码阅读起来还是有些吃力哈,请问有没有博客介绍或者交流群呢O(∩_∩)O~

android.view.InflateException: Binary XML file line #12: Error inflating class com.looklook.xinghongfei.looklook.widget.BadgedFourThreeImageView

博主,您好,扫描二维码拉伸的问题, 我看了下代码改动 ` screenResolution = new Point(display.getWidth(), display.getHeight()); Log.d(TAG, "Screen resolution: " + screenResolution); Point screenResolutionForCamera = new Point(); screenResolutionForCamera.x = screenResolution.x; screenResolutionForCamera.y = screenResolution.y; // preview size is always...

超哥,想请教一下,代码中单例类用的是懒汉式,不需要加双重检查么(加同步代码块) protected static Retrofit getRetrofit() { if (null == mRetrofit) { if (null == mOkHttpClient) { mOkHttpClient = OkHttp3Utils.getOkHttpClient(); } //Retrofit2后使用build设计模式 mRetrofit = new Retrofit.Builder() //设置服务器路径 .baseUrl(Constant.API_SERVER + "/") //添加转化库,默认是Gson...

@BindView(R.id.hometab_radio) RadioGroup hometabRadio; protected void findViewById() { hometabRadio = (RadioGroup) findViewById(R.id.hometab_radio); } 请问已经用butterfly 绑定了,为什么还要用findViewById 还有推主,你有建群么,可以到群里面交流么 我好像邮件回不了你哈

Parcelable不能使用在要将数据存储在磁盘上的情况,因为Parcelable不能很好的保证数据的持续性在外界有变化的情况下。尽管Serializable效率低点,但此时还是建议使用Serializable 。 那class BookTypeDto implements Parcelable 不是要把一些资源通过缓存到本地吗 那这样会有影响么