added replace viewInterface reference in adapter method.