onPress2(){
        if(this.state.ready){
            GLOBAL.stock = this.state.stockInfo;
            Actions.StockItemInfo({stock: GLOBAL.stock});
            this.setState({ready: false});
        }
    }
//actual opening of new view => StockItemInfo
actual opening of new view => StockItemInfo
actual opening of new view = > StockItemInfo
onPress2(){
        if(this.state.ready){
            GLOBAL.stock = this.state.stockInfo;
            Actions.StockItemInfo({stock: GLOBAL.stock});
            this.setState({ready: false});
        }
    }
onPress2 ( ) { if ( this . state . ready ) { GLOBAL . stock = this . state . stockInfo ; Actions . StockItemInfo ( { stock : GLOBAL . stock } ) ; this . setState ( { ready : false } ) ; } }
actual opening of new view => StockItemInfo
actual opening of new view = > StockItemInfo