![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 框架
文章平均质量分 62
Lostboy船长
只要思想不滑坡,方法总比困难多。进来看我博客的朋友,都是对知识有所渴望的,
希望我的分享的内容对你有所帮助。
展开
-
android kotlin Dimension
* 正常编码中一般只会用到 [dp]/[sp] ; * 其中[dp]/[sp] 会根据系统分辨率将输入的dp/sp值转换为对应的px原创 2022-09-06 18:29:21 · 592 阅读 · 1 评论 -
android ACache 缓存
/** * Copyright (c) 2012-2013, Michael Yang 杨福海 (www.yangfuhai.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L原创 2017-05-27 15:12:34 · 1233 阅读 · 0 评论 -
GreenDao轻量级的对象关系映射框架,永久告别sqlite
Android数据库框架——GreenDao轻量级的对象关系映射框架,永久告别sqlite前不久,我在写了ORMLite这个框架的博文Android数据库框架——ORMLite轻量级的对象关系映射(ORM)Java包但是对于我个人来说,我可能更加倾向于用GreenDao,所以今天也为大家带来了GreenDao的详细博客,希望大家喜欢,之前也详细介绍了ORM的思想原创 2017-05-18 19:52:44 · 351 阅读 · 0 评论 -
android annotations
Gradle 设置def AAVersion = "4.3.0"annotationProcessor "org.androidannotations:androidannotations:$AAVersion"compile "org.androidannotations:androidannotations-api:$AAVersion"@EActivity(R.layout.item_m原创 2017-05-19 10:29:49 · 187 阅读 · 0 评论 -
android glide
一. 下载在build.gradle中添加依赖: compile 'com.github.bumptech.glide:glide:3.7.0'11需要support-v4库的支持,如果你的项目没有support-v4库(项目默认已经添加了),还需要添加support-v4依赖: compile 'com.android.support:support-v4:23.3.转载 2017-06-05 11:13:17 · 316 阅读 · 0 评论 -
七牛云
http://jsfiddle.net/rwifeng/7rgqzpb0/3/#run token生成地址原创 2017-05-27 17:15:39 · 364 阅读 · 0 评论 -
android imageloader
如果说评价一下哪个图片开源库最被广泛使用的话,我想应该可以说是Universal-Image-Loader,在主流的应用中如 果你随便去反编译几个,基本都能看到他的身影,它就像个图片加载守护者,默默的守护着图片加载。相信很多人对 这个异步加载图片框架还不是很熟,再加上最近它更改优化了好几个地方,而网上的大部分资料还是以前的,于是花 了几天时间专门的研究了下开源框架Universal-I原创 2017-06-09 23:21:21 · 196 阅读 · 0 评论 -
android volley
package com.jh.rental.user.model;import android.graphics.Bitmap;import android.text.TextUtils;import android.widget.ImageView;import com.android.volley.Request;import com.android.volley.Request原创 2017-05-25 16:14:32 · 173 阅读 · 0 评论 -
Alibaba sophix熱修復
Gradle 配置maven { url "http://maven.aliyun.com/nexus/content/repositories/releases"}compile 'com.aliyun.ams:alicloud-android-hotfix:3.1.3'public void alyHix(){ SophixManager.getInstanc原创 2017-10-23 14:53:36 · 204 阅读 · 0 评论 -
android 框架
15 个 Android 通用流行框架大全oschina 发布于2016年05月29日 收藏 1093评论 30 华为软件开发云5月大聚惠,8大服务限时免费,拼手气赢华为Mate9!>>> 15 个 Android 通用流行框架大全oschina 发布于2016年05月29日 收藏 1093评论 30 华为软原创 2017-05-17 13:26:38 · 159 阅读 · 0 评论 -
android volley
Android Volley:使用方法总结及实例解析2015-11-24 16:31 701人阅读 评论(0)收藏举报分类: Android(31) 版权声明:本文为博主原创文章,未经博主允许不得转载。目录(?)[+]一、概述1. Volley谷歌官方翻译教程使用Volley传输网络数据原创 2017-05-17 13:21:11 · 208 阅读 · 0 评论 -
android autolayout框架
将autolayout引入dependencies { compile project(':autolayout')}也可以直接dependencies { compile 'com.zhy:autolayout:1.4.5'}Eclipse建议使用As,方便版本更新。实在不行,只有复制粘贴源码了。用法第一步:在你的项目的AndroidManifest中注明你的设计稿的尺寸。原创 2017-05-17 10:27:57 · 998 阅读 · 1 评论 -
Rxandroid2.0 使用一
1,初始化被观察者对象,并将对象发送出去Observable observable=Observable.create(new ObservableOnSubscribe() { @Override //将事件发射出去,持有观察者的对象 public void subscribe(ObservableEmitter e) throws Exception {原创 2017-05-03 09:45:33 · 873 阅读 · 0 评论 -
Retrofit使用一
Gradle设置compile 'com.squareup.retrofit2:retrofit:2.2.0'compile 'com.squareup.retrofit2:converter-gson:2.0.2'1,定义beanpublic class RepositoryBean { String full_name; String html_url;原创 2017-05-03 10:16:58 · 245 阅读 · 0 评论 -
Volley 使用一
Get请求 private void get(){ RequestQueue queue= Volley.newRequestQueue(getApplicationContext()); String url="http://121.41.119.107/test/index.php"; StringRequest request=ne原创 2017-05-03 10:41:06 · 173 阅读 · 0 评论 -
android JS交互框架SimpleJavaJsBridge
前言最近接触android中js与java交互的东西很多,当然它们之间的交互方式有几种,但是我觉得这几种交互方式都存在一定的不足,这是我决定编写SimpleJavaJsBridge这个库的关键原因。我会按以下顺序进行本文章:现有js与java通信方案及不足js与java完美通信方案设计SimpleJavaJsBridge现在进入正题1. 现有js与java通信方案及不足原创 2017-05-03 15:37:26 · 374 阅读 · 0 评论 -
android dagger2使用二
1,现在我们使用dagger2编写一个点击按钮更新UI的操作public interface IView { void updateUi(String data);}public interface IPresenter { void loadData();}@Component(modules = MyModule.class)public interf原创 2017-05-03 17:15:29 · 295 阅读 · 0 评论 -
Android6.0 权限申请界面
随着 Android6.0 的普及, 权限申请也变成了我们开发中必写的一段代码。比如 sd 卡权限、定位权限、拍照权限,这些几乎都是每个 app 必备的。而一般情况下我们都会在需要权限之前申请,然后各种判断。那既然是一些必备的是权限,我们为何不在我们一次打开 app 的时候就把这个全部都申请了呢?可是一下申请那么多权限对用户来说显然不是很友好,所以我们不妨在申请权限之前告诉一下用户,好让用户有个心原创 2017-05-13 00:56:53 · 475 阅读 · 0 评论 -
LeakCanary使用
Gradle 设置debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'testCompile 'com.squareup.leakcanary:leakcanary-andro原创 2017-05-05 16:31:05 · 182 阅读 · 0 评论 -
android 动画框架
lottie 动画框架 https://github.com/airbnb/lottie-androidcom.airbnb.lottie.LottieAnimationView android:id="@+id/animation_view" android:layout_width="wrap_content" android:layo原创 2017-05-15 11:08:50 · 594 阅读 · 0 评论 -
android gson
//定义 personpackage tripjunhui.gson;import com.google.gson.annotations.Expose;/** * Created by 骏辉出行 on 2017/5/15. */public class Person { @Expose private String name; @Expose原创 2017-05-15 17:45:31 · 251 阅读 · 0 评论 -
dagger2 一 引入dagger2注解
Gradle APPapply plugin: 'com.android.application'apply plugin: 'com.neenbedankt.android-apt'android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationI原创 2017-05-02 10:51:05 · 294 阅读 · 0 评论