Commit 69e3dffd authored by Mathilde BALLOUHEY's avatar Mathilde BALLOUHEY
Browse files

Correction bug affichage tri favoris

parent 6694b4c8
Pipeline #23283 failed with stages
in 2 minutes and 42 seconds
......@@ -131,11 +131,9 @@ public class HomeActivity extends AppCompatActivity {
btn_home_delFav.setOnClickListener(onClickDelFav());
View.OnClickListener v_rdbtnListener = new View.OnClickListener() {
@Override
public void onClick(View view) {
sortFavourites();
}
View.OnClickListener v_rdbtnListener = view -> {
sortFavourites();
m_adapter.notifyDataSetChanged();
};
rdbtn_home_bySystem.setOnClickListener(v_rdbtnListener);
rdbtn_home_byClass.setOnClickListener(v_rdbtnListener);
......
Supports Markdown
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