Why didn't use a listener here? This method executes at Main Thread and freeze your screen.