I have an image array, but not always known count.
Sometimes it becames 10 and sometimes 1000.
I want to show them in Android Studio. In my mind it's like:
First it shows 5, and when you scroll down the other 5 comes and the others like Instagram, but I dont know how to do it.
You're not providing much data to work with, but what i get is that you need a list of imageviews with pagination.
I'd go for a recycler view using pagination, check this out: https://medium.com/@etiennelawlor/pagination-with-recyclerview-1cb7e66a502b
Pagination is the name of the feature that you're looking for, the one that loads a number, then loads more when you reach the bottom and so on.
Here's a recycler view guide: https://developer.android.com/guide/topics/ui/layout/recyclerview?hl=es
Maybe you would do well to do the android fundamentals course: https://developer.android.com/courses/fundamentals-training/overview-v2