Creating a list view within a viewpager

Asked 1 years ago, Updated 1 years ago, 99 views

http://blog.naver.com/PostView.nhn?blogId=leebon93&logNo=220628962407&parentCategoryNo=&categoryNo=6&viewDate=&isShowPopularPosts=false&from=postList

I made a view pager by referring to this blog I want to create a list view in each view page ListViewFragment, Listview, both of them are getting errors

Is there a site or solution that can help?

android-viewpager

2022-09-22 20:39

1 Answers

We recommend that you look at the results one by one and proceed to the next step.

You have to put the list view in the viewfager, so implement the viewfager first and check the operation, and if it works without errors, then apply the list view. Or, it would be nice to check the movements separately and combine them.

In the last example, there are codes that are omitted, so it would be better to understand the view page and list view before you see it. The Vector shown here can be replaced by the List interface.

View page example

Listview example

Listview + viewpager example


2022-09-22 20:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.