I am trying to re render the component after goBack press . By using goBack I am able to go back page ,but that page is not getting refresh. How I can solve it ?
After goBack I have to call some api ,and now after back non of the function is getting call . I can only call if page will refresh or rerender .
Example , from page 1 header am clicking back arrow icon (i.e goBack fucntion) to go on Page 1 and after going page 1 it should refresh .  
<View style={{ flexDirection: 'row' }} hasSubtitle={!!subtitle}>
            <Left style={{ flexGrow: 1 ,top: -10}}>
              <Button transparent onPress={() => {
                this.props.navigation.goBack();
              }}>
                <Icon name="arrow-back"/>
              </Button>
            </Left>
            <Body
              style={{ textAlign: 'center', width: '100%', flexGrow: 2, alignItems: 'center', justifyContent: 'center' }}>
            {!!title && <Title style={{ color: '#000' }}>{title}</Title>}
            {!!subtitle &&
            <Subtitle style={{ color: '#000' }}>
              {icon && <IconSmall icon={icon} type="MaterialCommunityIcons"/>}
              {subtitle}
            </Subtitle>}
            </Body>
            <Right style={{ flexGrow: 1, marginTop: 2 }}></Right>
          </View>
Thanks
 
     
     
     
     
    