Commit 55a901fb authored by Mathilde BALLOUHEY's avatar Mathilde BALLOUHEY
Browse files

Correctif bug click list favoris

parent ae034eed
......@@ -185,6 +185,12 @@ public class HomeActivity extends AppCompatActivity {
}
private class AsyncTaskGetFavourites extends AsyncTask<Nullable, String, Nullable> {
@Override
protected void onPreExecute() {
super.onPreExecute();
rclr_home_favourites.setEnabled(false);
}
@Override
protected Nullable doInBackground(Nullable... nullables) {
getFav();
......@@ -195,6 +201,7 @@ public class HomeActivity extends AppCompatActivity {
protected void onPostExecute(Nullable nullable) {
super.onPostExecute(nullable);
m_adapter.notifyDataSetChanged();
rclr_home_favourites.setEnabled(true);
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment