문제

Can I add Bitmap objects into Bitmap array in android, while trying to do that could find that there was no specific methods available for it.Any Help from any one would be highly appreciable. Thanks in advance for the help.

도움이 되었습니까?

해결책

Use ArrayList instead of plain Array

다른 팁

Try this :

Bitmap [] bitmapArray = new Bitmap[size];

for(int i = 0; i < bitmapArray.length; i++)
    bitmapArray[i] = your_bitmap_object;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top