当前位置: 首页>>代码示例>>Java>>正文


Java SlideInEffect类代码示例

本文整理汇总了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;
    }
}
 
开发者ID:huang303513,项目名称:Coding-Android,代码行数:21,代码来源:JazzyHelper.java

示例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;
        }
    }
 
开发者ID:cdeange,项目名称:QuickLink,代码行数:22,代码来源:JazzyHelper.java

示例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;
}
 
开发者ID:ChrisOwen101,项目名称:MoonlightEmbeddedController,代码行数:16,代码来源:GameFragment.java

示例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;
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:73,代码来源:JazzyHelper.java


注:本文中的com.twotoasters.jazzylistview.effects.SlideInEffect类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。