自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 HbuilderX遇到的一个坑 alert弹出框 多次弹出

原因有些奇怪,是因为我把<script>标签卸载<body>标签的外边的下边了。。。。不知道为什么会这样,就是这么操蛋!!(js代码只有一个alert(“啦啦啦”))下图的写法(body的外边的下边)会导致alert()多次弹出(但只是在HBuilder中这样,在idea中不会发生)下图的写法(body的外边的上边)不会导致alert()多次弹出下图的写法(b...

2020-03-31 19:21:00 3192 2

原创 MMKV基本使用

首先在app创建时初始化:public class BaseApplication extends Application { @Override public void onCreate() { super.onCreate(); MMKV.initialize(this); //初始化mmkv }}然后创建MMKV://使用默认...

2020-03-30 16:38:46 5864

原创 MagicIndicator+ViewPager的简单使用 与 嵌套使用

效果:布局:<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.c...

2020-03-30 13:38:18 1560 1

原创 Uri 转为 File (顺带记下Retrofit上传文件)

//uri转为file Uri uri; //获取到的uri String[] arr = {MediaStore.Images.Media.DATA}; Cursor cursor = getContentResolver().query(uri, arr, null, null, null); ...

2020-03-24 21:28:19 745

原创 Cannot fit requested classes in a single dex file. Try supplying a main-dex list. # methods: 65641 >

无法在单个dex文件中容纳所请求的类。 尝试提供main-dex列表。解决:在build中添加multiDexEnabled true位置:

2020-03-24 11:02:50 212

原创 RadioGroup 多行多列显示(一个笨方法)

效果图:布局代码:<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.androi...

2020-03-23 21:30:48 1322

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除