當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。