Anyone please?
--~--~-~--~~~---~--~~
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
Mark,
The onContentChanged() did not seem to do the trick.
I am still trying to figure out how to do the second option.
I have tried looking for code that contains the DataSetObserver but
have not found any.
Can you please write an example code to show me how it works?
Thanks,
Noam.
This is what I have so far:
ListAdapter thisListAdapter = this.getListAdapter();
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Let me rephrase my question.
I have two PreferenceScreens - A and B.
In PrefScreen A, there is an option to go to B. When the user is on B,
and then leaves B and goes back to A, I would want to run a certain
method. Is there a way to do that?
Thanks,
Noam.
Noam wrote:
Let me rephrase my question.
I have two PreferenceScreens - A and B.
In PrefScreen A, there is an option to go to B. When the user is on B,
and then leaves B and goes back to A, I would want to run a certain
method. Is there a way to do that?
Implement onResume() in A.
--
I have tried that, but since both A and B are in the same java file,
then it won't work.
If I misunderstood, please clarify.
Any other suggestions?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Noam wrote:
I have tried that, but since both A and B are in the same java file,
then it won't work.
Oh, oops. Sorry.
Have you tried overriding onContentChanged()? I'm not sure when that all
gets called, but there's a decent chance it is called when the screen
changes content. That would
Thanks for that incredible answer.
Since I'm such a noobie, I hardly understand anything from that
paragraph. Could you please show me some code so I could understand
better?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Noam wrote:
Thanks for that incredible answer.
It couldn't be all that incredible. ;-)
Since I'm such a noobie, I hardly understand anything from that
paragraph. Could you please show me some code so I could understand
better?
Well, not really, because I've never tried either of them
Anyone?
On Mar 4, 6:53 pm, Noam noam.ha...@gmail.com wrote:
Hello everyone,
Is there a certain way for me to know when a PreferenceScreen is
closed?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
There is a OnPreferenceChangeListener, which is not quite the same as
knowing when the screen is closed, but it gives you a hook whenever a
user changes a setting.
Otherwise I would not think so as it would be eavesdropping on a user...
HTH
Ludwig
2009/3/5 Noam noam.ha...@gmail.com
Hello
11 matches
Mail list logo