随笔分类 -  开源项目

开源项目的研究及使用
摘要:github上的介绍,简单明了 Type-safe HTTP client for Android and Java by Square, Inc. http://square.github.io/retrofit/ 项目地址:https://github.com/square/retrofit 目前Retrofit 已经更新到2.0.0-beta1版本,api进行了大量的更新 请看这篇文章... 阅读全文
posted @ 2015-09-23 16:19 指鹿为驴 阅读(617) 评论(0) 推荐(0)
摘要:网上看到的一个开源项目的loading效果,效果很赞,记录一下: 开源项目地址如下:https://github.com/RomainPiel/Titanic 阅读全文
posted @ 2014-06-05 16:32 指鹿为驴 阅读(1790) 评论(0) 推荐(0)
摘要:GitHub开源项目总结,有需要的朋友可以参考下 GitHub开源项目android-styled-dialogs GitHub开源项目之changelog GitHub开源项目之AppRater GitHub开源项目之Android四次元(新浪微博客户端) GitHub开源项目之高仿”遇见” GitHub开源项目之Twitter客户端源码 GitHub开源项目之Jamendo音乐播放器 Gi... 阅读全文
posted @ 2014-05-30 14:47 指鹿为驴 阅读(538) 评论(0) 推荐(0)
摘要:在使用ActionBarSherlock定义app的头部操作时,会经常看见搜索的动作,本文主要介绍一下搜索是如何实现的。 1. SearchView 是搜索的核心组件,具体介绍请参考Android官方说明文档: http://developer.android.com/reference/android/widget/SearchView.html XML属性 属性名称 描述 ... 阅读全文
posted @ 2014-03-18 17:28 指鹿为驴 阅读(1418) 评论(0) 推荐(0)
摘要:定义一个自定义的ActionBar的title,并添加一个overflow的Action Item。 代码实现 如下 : import android.os.Bundle;import android.view.LayoutInflater;import android.view.View;import android.widget.Toast;import com.actionbarsherl... 阅读全文
posted @ 2014-03-14 19:47 指鹿为驴 阅读(799) 评论(0) 推荐(0)
摘要:将ActionBarSherlock 作为库项目添加到当前的项目中去,然后创建ActionBar,并自定义ActionBar的标题栏 例子如下: import android.os.Bundle;import android.view.LayoutInflater;import android.view.View;import android.widget.Toast;import com.act... 阅读全文
posted @ 2014-03-14 16:18 指鹿为驴 阅读(636) 评论(0) 推荐(0)
摘要:1. 介绍ActionBarSherlock 是Android compatibility library 的一个扩展, 不知道什么原因 Android 兼容开发包没有包含ActionBar. 所以就有了ActionBarSherlock . 其使用方式和 兼容开发包类似。ActionBarSherlock 被设计成通过一个API就能够很方便使用所有版本的Android操作栏的设计模式。2.相关网址其官方网址为:http://actionbarsherlock.com/github上的地址为:https://github.com/github/android3.ActionBar的介绍Acti 阅读全文
posted @ 2014-03-12 09:57 指鹿为驴 阅读(454) 评论(0) 推荐(0)
摘要:JazzyViewPager是一个重写的ViewPager,能是ViewPager滑动起来更加的炫酷。 开源地址:https://github.com/jfeinstein10/JazzyViewPager 使用的项目如下: JazzyViewPager 组件类 package com.hsx.test.jazzy;import java.util.HashMap;import java.u... 阅读全文
posted @ 2014-03-05 17:26 指鹿为驴 阅读(9354) 评论(0) 推荐(0)
摘要:Android-Universal-Image-Loader开源项目的源码地址:https://github.com/nostra13/Android-Universal-Image-Loader一.核心类的说明及相关参数的说明ImageLoaderConfiguration1.作用:为ImageLoader提供下载配置2.构造方法:/** * ImageLoaderConfiguration 创建的两种方式。 */ // 创建默认的ImageLoaderConfiguration ImageLoaderConfiguration configuration_0 =... 阅读全文
posted @ 2013-12-05 18:40 指鹿为驴 阅读(2955) 评论(0) 推荐(1)