本文整理汇总了Java中com.twotoasters.jazzylistview.effects.SlideInEffect类的典型用法代码示例。如果您正苦于以下问题:Java SlideInEffect类的具体用法?Java SlideInEffect怎么用?Java SlideInEffect使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SlideInEffect类属于com.twotoasters.jazzylistview.effects包,在下文中一共展示了SlideInEffect类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setTransitionEffect
import com.twotoasters.jazzylistview.effects.SlideInEffect; //导入依赖的package包/类
public void setTransitionEffect(int transitionEffect) {
switch (transitionEffect) {
case STANDARD: setTransitionEffect(new StandardEffect()); break;
case GROW: setTransitionEffect(new GrowEffect()); break;
case CARDS: setTransitionEffect(new CardsEffect()); break;
case CURL: setTransitionEffect(new CurlEffect()); break;
case WAVE: setTransitionEffect(new WaveEffect()); break;
case FLIP: setTransitionEffect(new FlipEffect()); break;
case FLY: setTransitionEffect(new FlyEffect()); break;
case REVERSE_FLY: setTransitionEffect(new ReverseFlyEffect()); break;
case HELIX: setTransitionEffect(new HelixEffect()); break;
case FAN: setTransitionEffect(new FanEffect()); break;
case TILT: setTransitionEffect(new TiltEffect()); break;
case ZIPPER: setTransitionEffect(new ZipperEffect()); break;
case FADE: setTransitionEffect(new FadeEffect()); break;
case TWIRL: setTransitionEffect(new TwirlEffect()); break;
case SLIDE_IN: setTransitionEffect(new SlideInEffect()); break;
default: break;
}
}
示例2: setTransitionEffect
import com.twotoasters.jazzylistview.effects.SlideInEffect; //导入依赖的package包/类
public void setTransitionEffect(int transitionEffect) {
switch (transitionEffect) {
case STANDARD: setTransitionEffect(new StandardEffect()); break;
case GROW: setTransitionEffect(new GrowEffect()); break;
case CARDS: setTransitionEffect(new CardsEffect()); break;
case CURL: setTransitionEffect(new CurlEffect()); break;
case WAVE: setTransitionEffect(new WaveEffect()); break;
case FLIP: setTransitionEffect(new FlipEffect()); break;
case FLY: setTransitionEffect(new FlyEffect()); break;
case REVERSE_FLY: setTransitionEffect(new ReverseFlyEffect()); break;
case HELIX: setTransitionEffect(new HelixEffect()); break;
case FAN: setTransitionEffect(new FanEffect()); break;
case TILT: setTransitionEffect(new TiltEffect()); break;
case ZIPPER: setTransitionEffect(new ZipperEffect()); break;
case FADE: setTransitionEffect(new FadeEffect()); break;
case TWIRL: setTransitionEffect(new TwirlEffect()); break;
case SLIDE_IN: setTransitionEffect(new SlideInEffect()); break;
default: break;
}
}
示例3: onCreateView
import com.twotoasters.jazzylistview.effects.SlideInEffect; //导入依赖的package包/类
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_games, container, false);
ButterKnife.inject(this, rootView);
listView.setTransitionEffect(new SlideInEffect());
listView.setOnScrollListener(this);
setHasOptionsMenu(true);
Bundle bundle = this.getArguments();
device = (Device) bundle.getSerializable("device");
return rootView;
}
示例4: setTransitionEffect
import com.twotoasters.jazzylistview.effects.SlideInEffect; //导入依赖的package包/类
public void setTransitionEffect(int i1)
{
switch (i1)
{
default:
return;
case 0: // '\0'
setTransitionEffect(((JazzyEffect) (new StandardEffect())));
return;
case 1: // '\001'
setTransitionEffect(((JazzyEffect) (new GrowEffect())));
return;
case 2: // '\002'
setTransitionEffect(((JazzyEffect) (new CardsEffect())));
return;
case 3: // '\003'
setTransitionEffect(((JazzyEffect) (new CurlEffect())));
return;
case 4: // '\004'
setTransitionEffect(((JazzyEffect) (new WaveEffect())));
return;
case 5: // '\005'
setTransitionEffect(((JazzyEffect) (new FlipEffect())));
return;
case 6: // '\006'
setTransitionEffect(((JazzyEffect) (new FlyEffect())));
return;
case 7: // '\007'
setTransitionEffect(((JazzyEffect) (new ReverseFlyEffect())));
return;
case 8: // '\b'
setTransitionEffect(((JazzyEffect) (new HelixEffect())));
return;
case 9: // '\t'
setTransitionEffect(((JazzyEffect) (new FanEffect())));
return;
case 10: // '\n'
setTransitionEffect(((JazzyEffect) (new TiltEffect())));
return;
case 11: // '\013'
setTransitionEffect(((JazzyEffect) (new ZipperEffect())));
return;
case 12: // '\f'
setTransitionEffect(((JazzyEffect) (new FadeEffect())));
return;
case 13: // '\r'
setTransitionEffect(((JazzyEffect) (new TwirlEffect())));
return;
case 14: // '\016'
setTransitionEffect(((JazzyEffect) (new SlideInEffect())));
return;
case 15: // '\017'
setTransitionEffect(((JazzyEffect) (new WaveRightEffect())));
break;
}
}