Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 9
Registered: ‎06-23-2013
My Device: Z10
My Carrier: giffgaff

TextArea updating database in a listview issues.

Im creating an app which is basically a list of textareas.  The groupdata model for the list is populated from a database. The problems I have is editing the data:  1) I am trying to find a suitable signal to use to know when the user is editing the entry and when the finsih editing  so I can update the database and also 2)  because the textarea is in my listitem provider I dont have the handle to the database so I wasn't sure how to let it know about it.  3) A minor issue is I can't seem to turn of the textarea border when its in the listview.


To get around the 1) issue im using the focusChanged() signal im not fully convinced by it yet but whatever....for problem 2) i was going to add a method to the listitem provider so I could pass the database handle to save internally.  Still not sure how I will know which database entry to update in the focusChanged() function.