当前位置: 首页>>代码示例>>Java>>正文


Java ContextualUndoAdapter类代码示例

本文整理汇总了Java中com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter的典型用法代码示例。如果您正苦于以下问题:Java ContextualUndoAdapter类的具体用法?Java ContextualUndoAdapter怎么用?Java ContextualUndoAdapter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ContextualUndoAdapter类属于com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo包,在下文中一共展示了ContextualUndoAdapter类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setContextualUndoAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.item_undo_row, R.id.undo_row_undobutton, this);
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:xulailing,项目名称:android-open-project-demo-master,代码行数:6,代码来源:SwipeToDismissActivity.java

示例2: setContextualUndoWithTimedDeleteAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoWithTimedDeleteAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.item_undo_row, R.id.undo_row_undobutton, 3000, this);
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:xulailing,项目名称:android-open-project-demo-master,代码行数:6,代码来源:SwipeToDismissActivity.java

示例3: setContextualUndoWithTimedDeleteAndCountDownAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoWithTimedDeleteAndCountDownAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.item_undo_row, R.id.undo_row_undobutton, 3000, R.id.undo_row_texttv, this, new MyFormatCountDownCallback());
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:xulailing,项目名称:android-open-project-demo-master,代码行数:6,代码来源:SwipeToDismissActivity.java

示例4: setContextualUndoAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.undo_row, R.id.undo_row_undobutton, this);
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:dakshit,项目名称:upes-academics,代码行数:6,代码来源:SwipeDismissActivity.java

示例5: setContextualUndoWithTimedDeleteAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoWithTimedDeleteAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.undo_row, R.id.undo_row_undobutton, 3000, this);
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:dakshit,项目名称:upes-academics,代码行数:6,代码来源:SwipeDismissActivity.java

示例6: setContextualUndoWithTimedDeleteAndCountDownAdapter

import com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter; //导入依赖的package包/类
private void setContextualUndoWithTimedDeleteAndCountDownAdapter() {
    ContextualUndoAdapter adapter = new ContextualUndoAdapter(mAdapter, R.layout.undo_row, R.id.undo_row_undobutton, 3000, R.id.undo_row_texttv, this, new MyFormatCountDownCallback());
    adapter.setAbsListView(getListView());
    getListView().setAdapter(adapter);
}
 
开发者ID:dakshit,项目名称:upes-academics,代码行数:6,代码来源:SwipeDismissActivity.java


注:本文中的com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。