- 授权协议: 未知
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/liaohuqiu/android-ActionQueue
软件介绍
ActionQueue 允许你一个一个的执行任务。
导入:
allprojects {
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
jcenter()
}
}加依赖:
compile 'in.srain.cube:action-queue:1.0.1'
使用
创建 action:
String[] messageList = new String[]{
"message 1",
"message 2",
"message 3",
};
for (int i = 0; i < messageList.length; i++) {
String message = messageList[i];
PopDialogAction action = new PopDialogAction(message);
mActionQueue.add(action);
}处理 action:
class PopDialogAction extends ActionQueue.Action<String> {
public PopDialogAction(String badge) {
super(badge);
}
@Override
public void onAction() {
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
Dialog dialog = builder.setMessage(getBadge()).show();
// notify action is done, and next aciton will be executed
dialog.setOnDismissListener(mOnDismissListener);
}
}action 执行完之后通知提醒:
DialogInterface.OnDismissListener mOnDismissListener = new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
mActionQueue.notifyActionDoneThenTryToPopNext();
}
};
电子商务:管理与社交网络视角(原书第7版)
(美)埃弗雷姆·特班(Efraim Turban)、戴维.金(David King)、李在奎、梁定澎、德博拉·特班(Deborrah Turban) / 时启亮、陈育君、占丽 / 机械工业出版社 / 2014-1-1 / 79.00元
本书对电子学习、电子政务、基于web的供应链、协同商务等专题进行了详细的介绍,全书涵盖丰富的资料以及个案,讨论了Web 2.0环境内的产业结构、竞争变化以及对当今社会的影响。另外,本书在消费者行为、协同商务、网络安全、网络交易及客户管理管理、电子商务策略等内容上都有最新的改编,提供读者最新颖的内容,贴近当代电子商务的现实。 本书适合高等院校电子商务及相关专业的本科生、研究生及MBA学员,也可......一起来看看 《电子商务:管理与社交网络视角(原书第7版)》 这本书的介绍吧!
