uiadapter moved to separated class