change dataSource variable types

fix https://github.com/JackTeam/XHNewsFrameworkExample/issues/8