you should take look on the kiva app example source code, there they use a dataview with custom dataitems