data binding in types view