-
ToastUtils.setGravity(Gravity.CENTER, 0, 0);
View toastView = ToastUtils.showCustomShort(R.layout.toast_center_long);
TextView tvTips = toastView.findViewById(R.id.tv_tips);
…
-
我在使用:ToastUtils.showShort("aa");的时候报如下错误
java.lang.NoClassDefFoundError: android.support.v4.widget.TextViewCompat
at com.blankj.utilcode.util.Toa…
-
ToastUtils 能不能不要自定义的布局?
平板自身就有自带效果的Toast ,定义之后就变了。
-
xml:
```
```
activity:
```
class QrActivity : BaseActivity(), QRCodeView.Delegate {
override val…
-
ShootSinglePhotoView when click Shoot Single Photo button show error "Error accessing the SD Card"
DJI Android SDK version 4.0
Android system version 5.1.1, 6.0.1
DJISampleApplication.getPro…
-
item的子控件有点击事件时,长按子控件拖动事件失效。只有没有设置点击事件的view可以长按拖动;
item的子控件没有点击事件时,长按该item的子控件可以正常拖动。
-
使用v-layout对Recyclerview进行处理,使用这个框架基本就不行了,下拉需要拉很长的距离,上拉失效.我以为是我处理的问题,没办法尝试TwinklingRefreshLayout就没问题了.........这算不算是个bug
-
如题,这个是有一定很大概率会出现这个问题,请问是什么原因? 我是上层fragment 是不可swipe 所以没有 new SwipeBackFragmentDelegate ,没有嵌入 swipelayout.
-
`TextViewCompat.setTextAppearance(tvMessage, android.R.style.TextAppearance);`
中`16sp`导致Toast看起来特别奇怪,建议增加全局设置Toast的方法
-
需求:我需要分页加载列表布局,分页加载的json
{
"type": "1",
"load": "com.tmall.request.load.more",
"loadType": 1,
"items": [
]
}
然后在分页的监听里面做网络加载分页数据。
在实际中操作发现不能在分页加载的items的JsonArray中添加默认的数…