Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changeCurrentItem(0) #2

Closed
waincent opened this issue Aug 23, 2016 · 7 comments
Closed

changeCurrentItem(0) #2

waincent opened this issue Aug 23, 2016 · 7 comments

Comments

@waincent
Copy link

When I set the

spaceNavigationView.changeCurrentItem(0);

can't not trigger the onItemClick event.

@armcha
Copy link
Owner

armcha commented Aug 25, 2016

@wanimal will be fixed in new version, probably tomorrow․

@armcha
Copy link
Owner

armcha commented Aug 26, 2016

Fixed in new version

@armcha armcha closed this as completed Aug 26, 2016
@waincent
Copy link
Author

waincent commented Sep 2, 2016

not solve the problem is still there @armcha

@armcha armcha reopened this Sep 2, 2016
@armcha
Copy link
Owner

armcha commented Sep 2, 2016

@wanimal when you call

spaceNavigationView.changeCurrentItem(0); 

onItemClick
image
will be caled

@waincent
Copy link
Author

waincent commented Sep 3, 2016

Initialization does not work.

@waincent
Copy link
Author

waincent commented Sep 3, 2016

spaceNavigationView = (SpaceNavigationView) findViewById(R.id.space);
spaceNavigationView.initWithSaveInstanceState(savedInstanceState);
spaceNavigationView.setCentreButtonIcon(R.drawable.ic_menu_videocam);
spaceNavigationView.addSpaceItem(new SpaceItem("Home", R.drawable.ic_menu_home));
spaceNavigationView.addSpaceItem(new SpaceItem("Account", R.drawable.ic_menu_account));
spaceNavigationView.setSpaceOnClickListener(...);
spaceNavigationView.changeCurrentItem(0);

@waincent
Copy link
Author

Initialization does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants