本文整理匯總了Java中com.handmark.pulltorefresh.library.PullToRefreshBase.State類的典型用法代碼示例。如果您正苦於以下問題:Java State類的具體用法?Java State怎麽用?Java State使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
State類屬於com.handmark.pulltorefresh.library.PullToRefreshBase包,在下文中一共展示了State類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: onPullEvent
import com.handmark.pulltorefresh.library.PullToRefreshBase.State; //導入依賴的package包/類
@Override
public final void onPullEvent(PullToRefreshBase<V> refreshView, State event, Mode direction) {
Integer soundResIdObj = mSoundMap.get(event);
if (null != soundResIdObj) {
playSound(soundResIdObj.intValue());
}
}
示例2: onPullEvent
import com.handmark.pulltorefresh.library.PullToRefreshBase.State; //導入依賴的package包/類
public final void onPullEvent(PullToRefreshBase<V> pullToRefreshBase, State event, Mode
direction) {
Integer soundResIdObj = (Integer) this.mSoundMap.get(event);
if (soundResIdObj != null) {
playSound(soundResIdObj.intValue());
}
}