1 2 3 4 5 ··· 7 下一页
摘要: 解决方法v-if 修改为v-show 参考https://blog.csdn.net/u013017173/article/details/113847942 阅读全文
posted @ 2024-11-12 09:51 only_books 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ::v-deep input::-webkit-outer-spin-button,::v-deep input::-webkit-inner-spin-button {-webkit-appearance: none !important;}::v-deep input[type=‘number’ 阅读全文
posted @ 2024-10-17 14:18 only_books 阅读(7) 评论(0) 推荐(0) 编辑
摘要: String value_review = value.replace("\\","");value_review=value_review.substring(value.indexOf("{"), value_review.lastIndexOf("}") + 1);进行转义 参考https:/ 阅读全文
posted @ 2024-08-27 13:59 only_books 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ViewGroup.LayoutParams layoutParams = appBarLayout.getLayoutParams();AppBarLayout.Behavior behavior = (AppBarLayout.Behavior) ((CoordinatorLayout.Layo 阅读全文
posted @ 2024-08-22 11:27 only_books 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 可以改使用监听 popupWindow.setOnDismissListener(new PopupWindow.OnDismissListener() { @Override public void onDismiss() { }}); 阅读全文
posted @ 2024-08-16 13:33 only_books 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 将版本升级到com.squareup.okhttp3:okhttp:3.9.0可以解决。 如果使用张鸿洋大神的okhttputils 改成这样就行 implementation 'com.zhy:okhttputils:2.6.2'implementation 'com.squareup 阅读全文
posted @ 2024-08-01 10:40 only_books 阅读(5) 评论(0) 推荐(0) 编辑
摘要: private class ArticleWebViewClient extends WebViewClient { @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, 阅读全文
posted @ 2024-06-21 13:25 only_books 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 建议使用RecyclerView 阅读全文
posted @ 2024-06-11 18:22 only_books 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import android.content.Context;import android.content.res.TypedArray;import android.graphics.Canvas;import android.graphics.Paint;import android.graph 阅读全文
posted @ 2024-06-11 18:21 only_books 阅读(44) 评论(0) 推荐(0) 编辑
摘要: public void finishActivity (int requestCode) Since: API Level 1Force finish another activity that you had previously started with startActivityForResu 阅读全文
posted @ 2024-06-05 16:21 only_books 阅读(9) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 7 下一页