Ooh, this sounds like such a perfect problem to solve with a ListView,
android:stackFromBottom, and a ResourceCursorAdapter.  :)

j

On Sat, May 2, 2009 at 2:40 AM, Alberto M. Scattolo
<thedarkfrees...@gmail.com> wrote:
>
> Good morning everybody!
>
> I'm pretty new to Android so I'm facing some problems :)
> I'm using a TextView widget to show a log, just some text.
> The log content is stored on an SQLite database that my app creates
> and when a new line is added to the databse I use textview.append("my
> last line") to add it. The problems is that when I add a line, it also
> adds a copy of the text that was already displayed. Quite strange!
> An example:
> first line is "One", if i add a new line with "Two", it prints: "One
> \nOne\nTwo". If i add "Three" it prints "One\nOne\nTwo\nOne\nOne\nTwo
> \nThree".
> Can anybody help me to solve this?
>
> Huge thanks in advance!
> Bests,
> --
>
> A
> >
>



-- 
Jeff Sharkey
jshar...@google.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to