Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to let horizontal listview could be use “setSelection” (I want the listview comes out in the middle position) #37

Open
cymcsg opened this issue Jun 18, 2013 · 9 comments

Comments

@cymcsg
Copy link

cymcsg commented Jun 18, 2013

I want to use a horizontal listview inside of listview.But DevsmartLib-Android can not use the function "setSelection" like listview.

I want the listview comes out in the middle position.

Thank you very much.

@gityan
Copy link

gityan commented Aug 15, 2013

I have the same problem. Did you get solution?

@cymcsg
Copy link
Author

cymcsg commented Aug 17, 2013

@gityan I used a way of repeat of items instead of horizontal listview. What a pity

@gityan
Copy link

gityan commented Aug 18, 2013

http://www.cnblogs.com/blog-wenfeng/archive/2013/04/15/3022327.html

I found a way to resolve it. Some one modified horizontallistview 1.5. Here is the 1.5.1, which can use setselection() method.

@dimitrireef
Copy link

I am facing same issue @TonyAlvarez is horizontalListView.setSelection work after changing dev library with your link. I tried but no result, please help

@gityan
Copy link

gityan commented Feb 19, 2014

Maybe,it's useful.You can use setSelectionFromLeft() to try.

------------------ 原始邮件 ------------------
发件人: "dimitrireef";[email protected];
发送时间: 2014年2月19日(星期三) 下午4:24
收件人: "dinocore1/DevsmartLib-Android"[email protected];
抄送: "gityan"[email protected];
主题: Re: [DevsmartLib-Android] How to let horizontal listview could be use “setSelection” (I want the listview comes out in the middle position) (#37)

I am facing same issue @TonyAlvarez is horizontalListView.setSelection work after changing dev library with your link. I tried but no result, please help


Reply to this email directly or view it on GitHub.

@dimitrireef
Copy link

Thanks you .setSelectionFromLeft() did the job. :)

@jinnings
Copy link

Whats the alternative solution to scroll (like smoothScrollToPosition).PLease help

@jeongwoohwan
Copy link

my life for @gityan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants