Giter Club home page Giter Club logo

Comments (9)

gityan avatar gityan commented on June 18, 2024

I have the same problem. Did you get solution?

from devsmartlib-android.

cymcsg avatar cymcsg commented on June 18, 2024

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

from devsmartlib-android.

gityan avatar gityan commented on June 18, 2024

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.

from devsmartlib-android.

antoni-alvarez avatar antoni-alvarez commented on June 18, 2024

Thanks @gityan !!

Link to modified HorizontalListView class on GitHub:

https://github.com/bin-liu/TYComponent/blob/master/TangyuComponentProject/Source/src/com/tangyu/component/view/HorizontalListView.java

Also I need to copy the Utils class:

https://github.com/bin-liu/TYComponent/blob/master/TangyuComponentProject/Source/src/com/tangyu/component/Util.java

from devsmartlib-android.

dimitrireef avatar dimitrireef commented on June 18, 2024

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

from devsmartlib-android.

gityan avatar gityan commented on June 18, 2024

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.

from devsmartlib-android.

dimitrireef avatar dimitrireef commented on June 18, 2024

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

from devsmartlib-android.

jinnings avatar jinnings commented on June 18, 2024

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

from devsmartlib-android.

jeongwoohwan avatar jeongwoohwan commented on June 18, 2024

my life for @gityan

from devsmartlib-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.