My renderheader method is like this....
_renderHeader(section, i, isActive) {
return (
</View>
);
}
You need to change the _renderHeader to the following
_renderHeader = (section, i, isActive) => {...}
yes, i did this and now its working
Most helpful comment
You need to change the _renderHeader to the following
_renderHeader = (section, i, isActive) => {...}