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


Java Card类代码示例

本文整理汇总了Java中com.fima.cardsui.objects.Card的典型用法代码示例。如果您正苦于以下问题:Java Card类的具体用法?Java Card怎么用?Java Card使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Card类属于com.fima.cardsui.objects包,在下文中一共展示了Card类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addAsyncCard

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addAsyncCard(Card card, boolean refresh, Context ctx) {
    final Card asyncCard = card;
    final Context context = ctx;

    new Thread(new Runnable() {
        @Override
        public void run() {
            asyncCard.getCardContent(context);
        }
    }).start();

    CardStack stack = new CardStack();
    stack.add(asyncCard);
    mStacks.add(stack);
    if (refresh) refresh();
}
 
开发者ID:hsbadr,项目名称:MultiSystem,代码行数:17,代码来源:CardUI.java

示例2: addSeparateCards

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addSeparateCards(Card[] cards, boolean refresh) {

        for (int i = 0; i < cards.length; i++) {
            CardStack stack = new CardStack();
            stack.add(cards[i]);
            mStacks.add(stack);
        }

        if (refresh)
            refresh();
    }
 
开发者ID:hsbadr,项目名称:MultiSystem,代码行数:12,代码来源:CardUI.java

示例3: addCard

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCard(Card card, boolean refresh) {
    CardStack stack = new CardStack();
    stack.add(card);
    mStacks.add(stack);
    if (refresh)
        refresh();
}
 
开发者ID:hsbadr,项目名称:MultiSystem,代码行数:8,代码来源:CardUI.java

示例4: addCardToLastStack

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCardToLastStack(Card card, boolean refresh) {
    if (mStacks.isEmpty()) {
        addCard(card, refresh);
        return;
    }
    int lastItemPos = mStacks.size() - 1;
    CardStack cardStack = (CardStack) mStacks.get(lastItemPos);
    cardStack.add(card);
    mStacks.set(lastItemPos, cardStack);
    if (refresh) refresh();
}
 
开发者ID:hsbadr,项目名称:MultiSystem,代码行数:12,代码来源:CardUI.java

示例5: addCard

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCard(Card card, boolean refresh) {

        CardStack stack = new CardStack();
        stack.add(card);
        mStacks.add(stack);
        if (refresh)
            refresh();

    }
 
开发者ID:jamison904,项目名称:APKreator,代码行数:10,代码来源:CardUI.java

示例6: addCardToLastStack

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCardToLastStack(Card card, boolean refresh) {
    if (mStacks.isEmpty()) {
        addCard(card, refresh);
        return;
    }
    int lastItemPos = mStacks.size() - 1;
    CardStack cardStack = (CardStack) mStacks.get(lastItemPos);
    cardStack.add(card);
    mStacks.set(lastItemPos, cardStack);
    if (refresh)
        refresh();

}
 
开发者ID:jamison904,项目名称:APKreator,代码行数:14,代码来源:CardUI.java

示例7: addCard

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCard(Card card, boolean refresh) {

		CardStack stack = new CardStack();
		stack.add(card);
		mStacks.add(stack);
		if (refresh)
			refresh();

	}
 
开发者ID:PaperAirplane-Dev-Team,项目名称:CardsUILib,代码行数:10,代码来源:CardUI.java

示例8: addCardToLastStack

import com.fima.cardsui.objects.Card; //导入依赖的package包/类
public void addCardToLastStack(Card card, boolean refresh) {
	int lastItemPos = mStacks.size() - 1;
	CardStack cardStack = (CardStack) mStacks.get(lastItemPos);
	cardStack.add(card);
	mStacks.set(lastItemPos, cardStack);
	if (refresh)
		refresh();

}
 
开发者ID:PaperAirplane-Dev-Team,项目名称:CardsUILib,代码行数:10,代码来源:CardUI.java


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