bamlab / react-native-image-header-scroll-view

ScrollView with an image in header which becomes a navbar
MIT License
997 stars 99 forks source link

Can you push your Doctor Who demo code ? #41

Closed Crael94 closed 5 years ago

Crael94 commented 6 years ago

Hi mate, First of all thank you for this awesome bundle ! Could you put here the code of your Demo GIF please ? Thank you ;)

(Merci d'avance :) )

Crael94 commented 6 years ago

Ok nevermind ... I found it

https://github.com/bamlab/react-native-image-header-scroll-view-example/blob/3b9d2d0d7f71c6bf877e2d10cc65c9ab7e1b484d/src/Pages/TvShow.js

But I have a question: How do you make the photo insteed of the header but keep the "arrow-back"

Merci d'avance :)

Nhacsam commented 6 years ago

I changed the style of the header to make it transparent and absolute :-) https://github.com/bamlab/react-native-image-header-scroll-view-example/blob/3b9d2d0d7f71c6bf877e2d10cc65c9ab7e1b484d/src/App.js#L30

Dominic-Pace commented 6 years ago

@Nhacsam I'm using the v2 of React Navigation and this doesn't work. Any tips or recommendations? Thanks!

raulastrga commented 6 years ago

Hi, I would also like to see the code where you use the button to go back. Thanks

Nhacsam commented 5 years ago

With the react-navigation v2, you can use headerTransparent https://github.com/bamlab/react-native-image-header-scroll-view-example/blob/b907324b6c857ff3d287891d8d714060181fd3fd/src/App.js#L37

mohsinriaz17 commented 5 years ago

i made a snack for that https://snack.expo.io/@mohsinriaz/react-native-image-header-scroll-view-example

kirhim commented 4 years ago

@Nhacsam like @raulastrga mentioned where can I find the code where u used the arrow-back button in the header.