skip to Main Content

Android Studio – Infinite loop on try catch java Android Studio

I got stuck on infinite loop when all if statement is true UserRepo class public int update(Users user) throws ExecutionException, InterruptedException { Callable<Integer> updateCallable = new Callable<Integer>() { @Override public Integer call() throws Exception { return sqlite_room_dao.update(user.getId(),user.getUsername(),user.getPassword(),user.getPassword2()); } }; Future<Integer>…

VIEW QUESTION
Back To Top
Search