There is an Activation and on it in the middle (it takes up most of the activation) free space where I can invest, something to display my data. I don’t want to install the fragment. What is from ready-made and simple solutions to display a list of data. If I want to use ListView, do I have to do this in the snippet?

The logic is as follows: Activation opens, right after the default values ​​are set, data from the network is loaded into AsyncTask and the end of the load should be displayed. If I use a fragment, there will be no such problem: the data has been loaded, but I cannot update the fragment from AsyncTask.

  • Will it be correct to use inffefeys with a callback from AsyncTask to the fragment, so that it will be updated upon completion of work in AsyncTask.? - Turalllb
  • What prompted you to use a fragment in this situation? What is the need for it? - post_zeew
  • As I understood no. I thought it would be impossible to use ListView, but it turns out there is no problem with it. The only thing I would like to see is not a list in one column, but several columns. As I understand the GridView will work, right? And if I want to sort the buttons above the list for sorting, TabHost seems to fit well, but I don’t know if it will be possible to split it into columns like in a GridView? - Turalllb

0