<sequence concatadapter based on data type> is it ...
# stackoverflow
u
sequence concatadapter based on data type is it possible to use concatadapter based on data type. normal implementation of concatadapter is val concatadapter = listOf(firstAdapter, secondAdapter, thirdAdapter) while trying this code, for (nums in 0..15) { if (nums % 2 == 0) { concatAdapter.add(firstAdapter) } else { concatAdapter.add(secondAdapter) } } the first "firstAdapter" and "secondAdapter" will be display. But the next "firstAdapter" and "secondAdapter" is not displayed. is there...