I want to implement a horizontal grid view where images and all other descriptions will be provided by a server.
I am able to put images inside a grid view but it is scrolling vertically even if I put my grid view inside a HorizontalScrollView.
It should look like: left image, center image, right image. If there is any previous or next image then that image should remain partially visible at the left and right edges of the screen. On scrolling left or right, the next/previous image should move to the center.
Can any one tell me how best to implement this behavior without using a third party library?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…