android - I want to achieve the countdown Numbers up fly in and fly out of the effect -


i want achieve countdown numbers fly in , fly out, realize numbers down fly in , fly out,here code

index current number,mcurrentitemidx last number,itemcount total of how many number

        int itemstoscroll = index - mcurrentitemidx;         if (miscyclic) {             int scroll = itemcount + math.min(index, mcurrentitemidx) - math.max(index, mcurrentitemidx);             if (scroll < math.abs(itemstoscroll)) {                 itemstoscroll = itemstoscroll <0 ? scroll : -scroll;             }         }         scroll(itemstoscroll, 0, notify);//slide distance of itemstoscroll 


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -