本文整理匯總了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);
}