Android -- Displaying HorizontalScrollView of WebViews
So, the idea is to be able to view a very simple html page (text and one image) that can scroll vertically and place this view in a 开发者_运维百科horizontal list that scrolls and snaps to the closest html page.
I've read over and over that, for performance reasons, it isn't a good idea to place web/scroll views inside list views. I'm trying to avoid writing a new view from scratch but am lost as to what direction I should go.
To get the snapping to occur, you may want to consider using a Gallery. It essentially works the same as the list view but is horizontal.
To avoid using a webview, consider using the Html.fromSource function. See this post for details.
精彩评论