Error while calling API and get list than a set that lists into the list from state. but `setState()` is not work properly and warning is 

> 
> \_this2.setState is not a function
> 
> 
> 

```
callGithubApi(){
    axios.get("https://facebook.github.io/react-native/movies.json")
        .then(function(response)
        {
            console.log(JSON.stringify(response.data.movies))
            this.setState({   // problem is here
                list: response.data.movies,
                show: false
            })
        })
        .catch(error => 
        {
            this.setState({ errors : error, show: false })
        });
}

```