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:
android 3d carousel project: mainactivity:
(where magic happens / needs happen)
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
Post a Comment