- 博客(18)
- 资源 (13)
- 收藏
- 关注

原创 关于时下热门的《阿里百川HotFix》自己写了个小测试记录以便下次使用
1、build.grade(app)repositories{ maven { url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories" }}2、compile 'com.taobao.android:alisdk-hotfix:2.0.9'
2017-07-03 14:36:46
282

原创 滚动嵌套viewpager,里面的fragment高度问题(已解决)
一:先自定义我们的viewpagerpublic class MyViewPager extends ViewPager{ private int current; private int height = 0; /** * 保存position与对于的View */ private HashMap, View> mChildrenViews = n
2017-06-08 12:48:00
4802
3
原创 springboot+mybatis自动配置
1、创建generatorConfig.xml文件<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http:...
2019-03-18 14:10:42
1934
翻译 记录一些看到的资源 以后可能用得上
1、SpringMenu是一款滑动菜单,类似AndroidResidemenu,SlidingMenu,和其他滑动菜单之间 最大的区别是:它提供的灵活性弹跳,结合了Facebook提供的强大动画库 Rebound图片地址,可查看效果https://github.com/peng8350/JPSpringMenu/raw/master/art/main.gif项目地址:https://git...
2018-09-08 13:17:27
292
1
原创 Android组件化以及组件化中butterknife报空指针异常
https://github.com/luckybilly/CC Android组件化开发请看这篇文章关于butterknife空指针,请在module中引入apply plugin: 'com.jakewharton.butterknife'并annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'compile 'co...
2018-05-30 09:14:33
1021
原创 关于7.0拍照获取图片路径问题
几经测试,Android7.0之后获取拍照图片路径为内部存储路径,一直无法显示,原来xml文件夹中xml配置很重要,原先只是引用takephoto中的xml,一直没去看它,最后发现其中有处定义的就是external(内部存储),最后修改此处就ok了...
2018-05-12 18:36:36
768
原创 AR的引用
引用 compile 'com.google.vr:sdk-panowidget:1.80.0'布局文件<com.google.vr.sdk.widgets.pano.VrPanoramaView android:id="@+id/imageView2" android:layout_width="0dp" android:layout_height="0dp"
2017-09-06 17:16:16
298
原创 记录一些常用的依赖包
compile('com.jph.takephoto:takephoto_library:4.0.0') { exclude group: 'com.github.bumptech.glide'}适配7.0相机问题 //社会化分享 compile files('libs/ShareSDK-****-2.8.2.jar') compile 'com.jakewharton...
2017-08-31 15:17:55
297
原创 kotlin 的配置及使用
apply plugin: 'com.android.application'apply plugin: 'kotlin-android'apply plugin: 'kotlin-android-extensions'apply plugin: 'com.neenbedankt.android-apt'android { compileSdkVersion 25 buil
2017-07-10 14:02:43
425
原创 Fragment跳转到activity,然后返回到fragment并且刷新该页面(activity跳转Fragment)
在Activity中做跳转,也即Intent intent=new Intent(Activity.this, MainLingActivity.class); intent.putExtra("is_back", "1"); startActivity(intent);带上参数,跳转,如上代码。然后在Fragment中重新onNewIn
2016-11-25 16:28:26
5480
原创 一个apk启动另一个apk的方法
tv.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub In
2016-08-27 14:44:10
514
原创 应用高德地图心得
这几天在看高德,然而对于基础很差的我,学起来有点困难,虽然是借助官方文档。但是最后我还是实现了以下几个功能,调用地图----定位-----周边搜索-----关键字搜索,我看到别人的博客还是官方的都是分开写的,我就试着将他们写在同一个activity中,以下就是大致过程(见我资源,附有资源,自行下载 http://download.youkuaiyun.com/detail/qq_28774507/
2016-07-01 12:48:31
650
原创 关于ListView中setonsetOnItemClickListener方法无效问题
你是否有过setOnItemClickListener方法无效的问题? 不用怕,或许该方法适合你。先检查你的xml文件,在listview中是否存在单击按钮(raidbutton)和选择按钮(checkbox),如若有,再检查是否有android:focusable="false" android:clickable="false"
2016-06-13 19:04:25
572
android AR效果(随便玩的)
2017-09-06
Contentprovider
2017-08-05
高德定位及poi搜索
2016-07-01
集侧滑、fragment、viewpager、listview横向滑动于一体的demo(+新特性,见描述)
2016-06-22
集侧滑、fragment、viewpager、listview横向滑动于一体的demo
2016-06-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人