Rxjava receiving the data

Asked

Viewed 32 times

0

How to separate this array into 3 arrays, like one for gradesList, one for faultList and one for classList. To use Rxjava.

[Gradelist(gradesList=4.5, faultList=5, classList=Math), Gradelist(gradesList=9.5, faultList=10, classList=Math)]

  • Your question is absurdly confused. Please try [Dit] and explain calmly what you want.

  • I don’t think editing stops being confusing rsrs mds. It’s that kind to using Rxjava, and ae want to play 3 arrays in the view. Only, instead of giving me access to each type of array, q comes from JSON, it gives me only a single array with td together. Ex: [GradeList(gradesList=4.5, faultList=5, classList=math), GradeList(gradesList=9.5, faultList=10, classList=math)] And I wanted to type an array for each, one for gradesList, one for faultList and one for classList.

  • What you have is an array of a type with these 3 attributes or a string with this content?

  • an array of one type with these three different attributes. I receive a JSON that has this data.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.