candebbs

Results 10 issues of candebbs

在"react-native-tab-view": "0.0.56",这个版本(原来版本是"react-native-tab-view": "0.0.48",),运行代码会报 `Element type is invalid: expected a string(for built-in components) or a class/funtion(for composite components) but got:check then render method of 'TabViewTransitioner'` 这个错误的。 0.0.56版本去掉TabViewTransitioner这个依赖的, 把TabBarTop改为TabBar就可以了, ``` // optional...

在一些手机,使用 ``` Intent intent4 = new Intent(this, NormalFilePickActivity.class); intent4.putExtra(Constant.MAX_NUMBER, 9); intent4.putExtra(NormalFilePickActivity.SUFFIX, new String[] {"xlsx", "xls", "doc", "docx", "ppt", "pptx", "pdf"}); startActivityForResult(intent4, Constant.REQUEST_CODE_PICK_FILE); ``` 没有得到任何文件的,显示为空。

比如业务需要,使用rxajva和rxandroid的来操作符实现网路请求轮询、网络请求嵌套回调(即在第1个网络请求成功后,继续再进行一次网络请求)等网络需求,应该怎样做,有思路不?

建议把android:process=":live"中的:live改为别的名字,很大可能会名字上冲突。

### 问题描述【必填】 后台返回的数据是: ``` { "data": { }, "msg": "操作成功", "code": 200 } ``` data是一个对象,我想直接返回来是字符串,不进行解析,怎样做? ``` EasyHttp.post(this) .api(new OrderPrintInfoApi().setData(no)) .request(new HttpCallbackProxy(this) { @Override public void onHttpSuccess(HttpData data) { }); ```...

question

我在做图片和视频一起轮播,假始第一第二个是图片,第三第四个是视频,当我一进入界面时,当轮播到第二张图片时,开始播放第三个的视频,当轮播到第三个时,两个视频一起播放,我是按照 ``` @Override protected void bindData(BaseViewHolder holder, BannerData data, int position, int pageSize) { if (getViewType(position) == BannerData.TYPE_NEW) { holder.setImageResource(R.id.image_view, data.getDrawable()); } else { ImageView imageView = holder.findViewById(R.id.banner_image); Glide.with(imageView).load(data.getImagePath()).placeholder(R.drawable.placeholder).into(imageView); }...

比如得到网络信息强度,wifi或者移动网络的。