cloud Posted April 29, 2014 Share Posted April 29, 2014 Hi android professionals.In a ListFragment I inflated a RelativeLayout with ListView and a LinearLayout in the bottom as a footer.I also Overrided the getView(..) of a custom ArrayAdapter and implemented the holder patern.I have a List of MyObject, and my ListView have a custom row view (EditText and a TextView). If I changed the Value of the EditText in any rows I can update MyObject in the List; but my questions are: what is the correct way to update(invalidate) the TextView in the same row position? right now I implemented EditText.addTextChangedListener(new TextWatcher(){...}); but I can't call adapter.notifyDataSetChanged(); because the list of adapter did not changed (insert, add, delete...). also how to update for example a TextView in the footer when any List changed or any of the item was just updated? Please let me know if you need more info (the code or clarification...) thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.