add event handler
Merge branch 'master' of https://github.com/maliubiao/gdk_example