I'm trying to achieve a circular carousel loop or scrollview loop that is based around the borders of a circular view.
I will attach a photo of what I was able to accomplish which was a normal view not a scrollview.
if any one was wondering, I used the react-native-reanimated-carousel library with the circular tutorial in the library documentation and was able to accomplish the wanted result.
Related
I am trying to figure out how to create a bidirectional loading flatlist. Right now if you add data to the top of a flatlist, it will renreder and repositiin to the top of the flatlist.
I know there is a way some users have rigged up to perform an animated scroll. But that still creates kinda a choppy effect.
My thinking was if i had two flatlists, one of which serves as my new data, I could house those in a scrollview, and essentially get the scrollview to act like a window, And have its position not be affected by any of the rendering
Does anyone have a solution for any of this? I saw one of the RCs just added this to ios, but I am trying tonget it working on Android as well :(
I'm not sure how to implement this with react-navigation.
I want to navigate between 2 components while keeping a static background image. So basically, the content would move over the single background image. How can I do this/is it possible?
Thanks
I would implement a scrollView with paging enabled; this way you can keep a single static background photo while "scrolling" (paging) over to your other component.
See React Native ScrollView Documentation for information on how to implement this. There are likely other solutions, but this is the approach i would take.
I'm looking for idea how to resize map to full screen when tapping on it. It came to my mind that custom view controller transition my do the job. Only problem is I don't know where exactly should I pass frame from first view and animate it on second? Can't find proper example of doing that.
I have a page view controller embedded inside a container view in order to swipe between images. But now I am trying to add a touch that will make the image go full screen "lightbox" with zoom available and also swipe through the images while in full screen mode.
I can get it to work, and messing around with auto layout seems to be much work consider I have a lot of other stuff in that VC.
So does anyone know a good image slider from github written in swift? - without the need of cocopods.
thanks!
It's easy enough to write one yourself. In full-screen mode, use another UIPageViewController, because it already has the swipe left & right support built in.
I have a google map that is a gmsmapview covering half screen. And below that I have collection view. I need to have scrolling effect not only for the collection view but also for the google map.
How can I use parallax in this scenario?
I would recommend switching over to MapKit for your map, there are several already created solutions that you could easily drop right into your project.
Check out these two controls: SLParallaxController and LocationPickerView