title: Why my Android ActionBar doesn't update when it is explictily changed
body: <p>I've seen questions on SO that related to these many times. So I've decided to post the reason why it happens and also the solution so that many SO users will get the benefit of the answer.</p>
  
  <p>For sometime now I've seen a reoccurring issue where I would change the <code>ActionBar</code> title and it would get ellipsized shorter than it should. Another symptom of this is having your title wrap when it shouldn't or just stay completely blank. When you change the the action bar buttons it wouldn't update correctly and I would be left with either no action bar buttons even though they have definitely been added or double up on existing action bar buttons.</p>
  
  <p>It turns' out this is a relatively straight forward issue. It mainly happens when you use a <code>ViewPager</code> with the <code>getChildFragmentManager()</code> to manage your fragments.</p>