position : absolute
화면을 겹치게 하기위해서 쓴다.
Stylesheet.absoluteFill
화면과 이미지를 겹치게 보이고 싶을 때 사용
absolute , left:0, right:0, top:0, bottom: 0
Linear Gradient
import {LinearGradient} from "expo-linear-gradient"
style ={Stylesheet.absoluteFill}
colors
react-native-swiper
Dimensions
실제 디바이스의 가로와 세로길이를 자동으로 계산 해 준다.
로컬에 있는 url을 가져올 때는 require("")를 사용해주고
인터넷상에 있는 url을 가져올 때는 객체를 넣어주고 {uri: ~~${movie.backdrop_path}
}
Promise.all
각각의 배열을 인자로 받고 배열의 요소는 promise고 모든 promise가 끝나야 다음으로 넘어간다.
끝나면 끝났다고 배열을 반환한다.