SuperRecyclerView
SuperRecyclerView copied to clipboard
RadioGroup click event
I have a layout in which each row of my recyclerview contains 5 radio buttons under a radiogroup. I need to override a click listener event of radiogroup and not each radio button. The addClickOnViewListener method from adapter does not support RadioGroup.OnCheckedChangeListener.
Can you please help ??
I think you need do on manual way
adapter. addClickOnViewListener(new ViewClickListener<T>() {
public void onViewClick(View view, int position, T element) {
if (((RadioButton) view).isChecked()) {
// store the value
}
}
});
Thanks for the info, i will work with this for the next update