-
比如说ImageView中的android:scaleType="centerCrop"
-
如题
-
-
ToastUtils,`+ (void)show:(NSString *)message atTop:(BOOL)atTop showTime:(float)showTime`
有时候toast被present出来的大图预览挡住了,建议挪一下到顶:
`[[UIApplication sharedApplication].keyWindow bringSubviewToFront:toa…
-
View banner = LayoutInflater.from(getContext()).inflate(R.layout.header_banner, null);
convenientBanner = (ConvenientBanner) banner.findViewById(R.id.convenient_banner);
listView.addH…
-
-
使用代码:单选图片
问题描述:反复停的选择图片,返回有弹框提醒,有的时候没有弹框提醒,会造成选择的图片没有返回,实际我是点击的,不稳定。有的时候返回有的时候就不返回了
private void selectImage(int requestCode) {
Album.image(this)
.singleChoice()
…
-
MyBaseModel info = JSON.parseObject(response.get().toString(), MyBaseModel.class);
if (info.getState() == Constants.SUCCEED) {
AllOrder acty = JSON.parseObject(…
-
我打开了不保留活动,在fragment使用matisse时,返回发现fragment为空,然后会出发再次创建逻辑,但原来的又没有销毁
-
版本:2.9.38
DataBinding: V2
Adapter:
```kotlin
class MovieHotAdapter : BaseQuickAdapter(R.layout.item_film) {
override fun convert(helper: ViewHolder, item: Film) {
val binding = helpe…