Divide work with server and work with android view