How can I create two progress bars in ProgressDialog ?


I am loading data from three tables in the database. The dialogue should show what stage of the download is going on now (progress from 1 to 3) and how much has already been loaded at this stage (here the size of the progress is not fixed).

At that, initially, it receives the amount of data in all tables (they are recorded in another database, so it’s more convenient to structure dozens of bases :)), that is, at first the circle just “turns” until I get the number of records, and then two bands appear.

  • It seems that you need to google secondaryProgress; For example: stackoverflow.com/a/10385405/3212712 - Yuriy SPb
  • @Yuriy SPb, unfortunately this is not what I need ... I already know this. I need more than one line with two filling progress, but two lines ... - user189127
  • @Yuriy SPb, I need two lines, like WinRAR'a ! One shows the overall progress, and the second for each individual file. - user189127
  • 2
    These are two progress bars. Create your own dialogue. There is no standard one. - Vladyslav Matviienko

1 answer 1

According to the @metalurgus comment:

These are two progress bars. Create your own dialogue. There is no standard one.

  • Eh ... Now I will make the usual ProgresDialog work, and then I will cut the custom one. - user189127