Hi all,

     I  have a list view and  2 buttons(upButton and DownButton) when
i click on the down button ,list has to scroll down and when i click
on upButton ,list has to scroll up.

Sample code:   public void onClick(View view) {
        int id = view.getId();

        switch (id) {
            case R.id.PageDown:
                languageList.smoothScrollBy(languageList.getHeight(),
PAGE_SCROLL_DURATION);
                Log.d(TAG,"PageDown");
                break;
            case R.id.PageUp:
                languageList.smoothScrollBy(-languageList.getHeight(),
PAGE_SCROLL_DURATION);
                Log.d(TAG,"PageUp");

                break;

        }

    }

this is working fine.my problem is when i click on down button if it
reaches the end of the list i have to do some button as invisible so
how to check whether the list has reached the end of the list while
scrolling.

 Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to