Viewpager和列表视图视图、列表、Viewpager

由网友(恰喜)分享简介:我试图用viewpager在我的应用程序。I'm trying to use viewpager in my app.我要创建4视图页面与列表视图和每一个列表视图只数据将change.When应用程序开始的每一页都会加载自己的数据,但只有第一个将显示在第一时间进行。I want to create 4 view...

我试图用viewpager在我的应用程序。

I'm trying to use viewpager in my app.

我要创建4视图页面与列表视图和每一个列表视图只数据将change.When应用程序开始的每一页都会加载自己的数据,但只有第一个将显示在第一时间进行。

I want to create 4 view pages with listviews and every listview only data will change.When app started every page will load own data but only first one will be shown at the first time.

但我不能这样做this.My片段刷新自己的数据在每个页面的变化,所有的列表视图总是有相同的data.Please帮我只字不提已经在计算器问这个,但没有人回答它。如果有一个来源有关,可以为您发送的链接?

But i can't do this.My fragment refresh own data every page changes and all the listviews always have same data.Please help me about this.I have asked this at stackoverflow but no one answer it.If there is a source about that can you send its link?

推荐答案

看看这个项目 https://开头github.com/Shereef/ViewPagerPlusExpandableList (导入它在Eclipse中靛蓝,还是先看看在code在网上),这是我的回答我的问题:How在ViewPager在Android中实现一个ExpandableList?

Take a look at this project https://github.com/Shereef/ViewPagerPlusExpandableList (import it in eclipse indigo, or take a look at the code online), this was my answer to my question: How to implement an ExpandableList in a ViewPager in Android?

应该是非常有帮助的,以你的问题,如果它不能完全解决这个问题。

Should be very helpful to your question if it doesn't fully solve it.

阅读全文

相关推荐

最新文章