How to sort groups and children Expandable listview in Android?

前端 未结 3 2050
伪装坚强ぢ
伪装坚强ぢ 2021-01-22 10:26

I have two tables in mysql which bind \'Categories\' and \'products\' through ids \'id_catprods\' and \'ID_Cat\'. So far so good, I\'m working on Android with \"ExpandableListVi

3条回答
  •  孤城傲影
    2021-01-22 11:17

    Better and easy way to sort Categories with product is from mysql query. You can use inner join or any other which fits on your case to sort and make relation between products and categories.

提交回复
热议问题