Yes I did, and it is not clear why I would want to use one vs. the
other in many cases since the end behavior seems to be the same. The
"add" method also implies that you're adding the fragment "to the
activity", whereas replace talks about removing and adding "to the
container".

In general, the Android documentation is good, but sometimes
inconsistent in terminology when read closely.

On Jan 9, 11:38 am, TreKing <treking...@gmail.com> wrote:
> On Mon, Jan 9, 2012 at 9:27 AM, Doug Gordon <gordo...@gmail.com> wrote:
> > So what is the difference behind the scenes between these two methods?
>
> Did you try reading the documentation for each function ... ?
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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