China’s foreign trade maintained double-digit growth in July at 16.6 percent year-on-year, official data showed on Sunday, underscoring the resilience of China's giant export machine and bucking broad fears of a slowdown due to cooling global consumer demand amid high inflation as well as growing geopolitical uncertainties.