Guest User

Untitled

a guest
Apr 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. public boolean updateValues(Cursor cursor, AsyncTask<> aTask)
  2.     {
  3.  
  4.         try
  5.         {
  6.             if(cursor.moveToFirst())
  7.             {
  8.                
  9.                 do
  10.                 {
  11.                     int updatedReturn = MyActivity.updatePercentageValue(percentage());
  12.                     aTask.publishProgress(percentage())
  13.                    
  14.                 }
  15.                 while(cursor.moveToNext());
  16.             }
  17.         }
  18.         return result;
  19.     }
Add Comment
Please, Sign In to add comment