Android 徽章控件 BGABadgeView
- 授权协议: Apache 2.0
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/bingoogolapple/BGABadgeView-Android
- 软件文档: https://github.com/bingoogolapple/BGABadgeView-Android/blob/master/README.md
- 官方下载: https://github.com/bingoogolapple/BGABadgeView-Android/archive/master.zip
软件介绍
BGABadgeView 是 Android 自定义徽章控件。
效果图:
依赖:
dependencies {
compile 'com.nineoldandroids:library:2.4.0'
compile 'cn.bingoogolapple:bga-badgeview:latestVersion@aar'
}目前支持的徽章类:
| 类名 | 应用场景 |
|---|---|
| BGABadgeRadioButton | 微博首页底部导航 |
| BGABadgeImageView | 微博列表用户头像 |
| BGABadgeTextView | 其实这个可以用BGABadgeCheckedTextView代替 |
| BGABadgeLinearLayout | 列表item右侧消息条数 |
| BGABadgeRelativeLayout | 列表item右侧消息条数 |
| BGABadgeFrameLayout | 列表item右侧消息条数 |
接口说明:
/** * 显示圆点徽章 */ void showCirclePointBadge(); /** * 显示文字徽章 * * @param badgeText */ void showTextBadge(String badgeText); /** * 隐藏徽章 */ void hiddenBadge(); /** * 显示图像徽章 * * @param bitmap */ void showDrawableBadge(Bitmap bitmap); /** * 设置拖动删除徽章的代理 * * @param delegate */ void setDragDismissDelegage(BGADragDismissDelegate delegate); /** * 是否显示徽章 * * @return */ boolean isShowBadge();
Head First 设计模式(中文版)
弗里曼 / O'Reilly Taiwan公司 / 中国电力出版社 / 2007-9 / 98.00元
《Head First设计模式》(中文版)共有14章,每章都介绍了几个设计模式,完整地涵盖了四人组版本全部23个设计模式。前言先介绍这本书的用法;第1章到第11章陆续介绍的设计模式为Strategy、Observer、Decorator、Abstract Factory、Factory Method、Singleton,Command、Adapter、Facade、TemplateMethod、I......一起来看看 《Head First 设计模式(中文版)》 这本书的介绍吧!

