Got the custom view working with a special adapter