This was a major headache for me also. Finally found the solution: int calc = sv.getHeight() + sv.getScrollY(); //where sv is a scrollview boolean atBottom = tv.getBottom() - calc == 0; //where tv is a textview
On Apr 9, 6:23 am, "nwmotog...@gmail.com" <nwmotog...@gmail.com> wrote: > I have a TextView inside a ScrollView and I have loaded it with a > bunch of text. When the ScrollView gets to the bottom/top I would > like to load the TextView with new data BUT there doesn't appear to be > any way to find out when you have reached either location. Could some > one help me out with this? How can this be done? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---