Camden Shultz

Results 10 comments of Camden Shultz

ok, so I have a whole buch of images in a carousel, but how do I add click functionality to them. I've been asking about it here (you can see...

Sure. You can create as many carousels on the same page as you want with as many items in each. You just have to copy the code however many times,...

ya so, when you add the following (the onlcikc listener) `carouselPicker.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { @Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { } @Override public void onPageSelected(int position) {...

yes, that is what this does. the item is selected (Onclick) when it is in the center of the carousel. Give it a try. Put a toast message in one...

so you want to make a a different function (a method) run when one of the items is clicked on?

ok, so when i did it, i could not find a way to directly add Onclick to each button. So used the code above to change a variable, say x,...

take a look at this StackExchange post if you need to. [Stack Exchange](https://stackoverflow.com/questions/54616471/adding-onclick-to-items-in-a-arraylist/54616787?noredirect=1#comment96030515_54616787)

Any updates? @E3V3A @JSchripsema-IDM

i need this This needs to be implemented ASAP! make any changes in loacal, reflected on the remote server!

> You can remove unwanted files from remote with SFTP: Sync to Remote. This will make sure the remote is exactly the same with local. I get an error whenever...