我现在每个人都面临一个问题,
问题:HorizontalListview在listview项目中运行不正常。
在我的应用程序中实现了这样的
<Listview>
item1 <Horizontallistview> ..... </Horizontallistview>
item2 <Horizontallistview> ..... </Horizontallistview>
item3 <Horizontallistview> ..... </Horizontallistview>
item4 <Horizontallistview> ..... </Horizontallistview>
....
....
....
</Listview>
实际上我是这样实现的,但是每个项目的横向滚动都没有顺利进行,任何人都有这个想法给我一些想法。
protected void setupViews() {
LayoutInflater inflater = LayoutInflater.from(Application.getContext());
inflater.inflate(R.layout.element_playlist, this, true);
title = (TextView) this.findViewById(R.id.title);
movieplaylistlistview = (HorizontalListView) this.findViewById(R.id.list_listview);
playlistMovieAdapter = new PlaylistMovieAdapter();
movieplaylistlistview.setAdapter(playlistMovieAdapter);
}