java - How To Launch Activity With Carousel -


i've asked 2x , nobody has been able give straightforward answer (and quite totally misunderstanding i'm trying do: i'm going ask possible:

how can start new activity based upon item in carousel touched?

i intentionally including no custom source code. i'd know how can done out of box (considering first result when google android carousel - posting should quite useful myself , others in future if can straightforward answer question.

source:

https://code.google.com/p/android-3d-carousel-view/source/browse/src/net/pocketmagic/android/carousel/

android 3d carousel project: mainactivity:

(where magic happens / needs happen)

https://code.google.com/p/android-3d-carousel-view/source/browse/src/net/pocketmagic/android/carousel/mainactivity.java

 public void onitemselected(adapterview<?> arg0, view arg1, int arg2, long arg3) {              if (arg2==8000){//arg2 position of selected item intent = new intent(mainactivity.this,someactivity.class); startactivity(i);     } } 

like this, need learn android bit, , carousel library deprecated, , works like....


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -