How many Views are possible in a view flipper in android?

前端 未结 2 1376
天涯浪人
天涯浪人 2021-01-22 02:32

I am developing an application in android in which i want to show about 170 images, but i want user can view images by finger either right or left . After searching from interne

2条回答
  •  星月不相逢
    2021-01-22 03:14

    I suggest you to use Gallery (Gallery tutorial), ViewFlipper will load complete view in memory, so when you load more images it will take more memory and there is good chance for OutOfMemoryError.
    For displaying Images Gallery is the best choice

提交回复
热议问题