logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Fragment中设置沉浸式

添加tatusBarUtil依赖implementation 'com.jaeger.statusbarutil:library:1.5.1'Fragment中或者Fragment的宿主Activity中使用StatusBarUtil.setTranslucentForImageViewInFragment(this,null);首页HomeFragment上方有图片,效果图如下:...

定位坐标分类

地球上同一个地理位置的经纬度,在不同的坐标系中,会有少于偏移,国内目前常见的坐标系主要分为三种:地球坐标系——WGS84:常见于 GPS 设备,Google 地图等国际标准的坐标体系。火星坐标系——GCJ-02:中国国内使用的被强制加密后的坐标体系,高德坐标就属于该种坐标体系。百度坐标系——BD-09:百度地图所使用的坐标体系,是在火星坐标系的基础上又进行了一次加密处理。参考:高德...

#android
OPPO开放平台上架APP

OPPO开放平台https://open.oppomobile.com/(需要软著)管理中心选择分发服务中软件&游戏创建应用填写APP资料

react-native 版本升级

查看reactnative版本react-native -v通过升级版本遇到问题通过

Error creating bean with name com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

开始学习分页时,使用pageHelper分页遇到问题使用版本1.2.2<!--mybatis pagerhelper分页--><dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelper-spring-boot-starter</artifact

git_在某次提交上拉取新的分支

使用android studio方式Version Control->Log->找到对应的某次提交->右键->New Branch->输入新分支名称

#git
Expected URL scheme 'http' or 'https' but no colon was found

Caused by: java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no colon was foundat okhttp3.HttpUrl$Builder.parse(HttpUrl.java:1333)at okhttp3.HttpUrl.get(H...

#android
javax/xml/bind/JAXBException

新AS版本打开旧项目报错“javax/xml/bind/JAXBException”解决办法:打开project structure选中SDK Location -》JDK location 选择环境变量中配的版本

java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library

java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library场景删除了armeabi-v7a文件夹子,然后ctrl + z 恢复回来,再运行就出现这个错误了;解决办法把armeabi-v7a文件夹下so全部删除,然后重新拷贝一份原始的进去就好了...

#android
kotlin lateinit

有的小伙伴刚开始写 Kotlin 代码的时候,会把写 Java 代码的习惯也带过来,比如这样:class Demo {var value: Stringfun printValue() {println(value)}}当然,这样写的后果就是一个编译错误:Error:(2, 5) Kotlin: Property must be initialized or be abstract这时候,有的小伙

#kotlin
    共 24 条
  • 1
  • 2
  • 3
  • 请选择