本文整理匯總了Java中com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter.setAbsListView方法的典型用法代碼示例。如果您正苦於以下問題:Java ContextualUndoAdapter.setAbsListView方法的具體用法?Java ContextualUndoAdapter.setAbsListView怎麽用?Java ContextualUndoAdapter.setAbsListView使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.contextualundo.ContextualUndoAdapter
的用法示例。
在下文中一共展示了ContextualUndoAdapter.setAbsListView方法的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);
}