I have a api. Which returns the subjects. If api returns 4 subjects then I want to create 4 tabs . Depending upon how many subjects api returns.