Best way to create a continuous list of Integer in Android?
I’m wondering the best way to create a list of continuous integers in Android development.
In Java 8, I’ve found that there is a stream called
IntStream you can use to create a list with specified range very easily:
I thought it would be great if we can do the same thing in Android development as well.
We have RxAndroid so I thought it would be almost the same, however, it seems to me it is not, or maybe I have not found the best one just yet..