本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}