Merge "Remove use of old methods." into honeycomb
This commit is contained in:
commit
0e50c33ec7
@ -77,7 +77,8 @@ public class AccountFolderList extends Activity implements AccountFolderListFrag
|
||||
mControllerCallback = new ControllerResultUiThreadWrapper<ControllerResults>(
|
||||
new Handler(), new ControllerResults());
|
||||
mListFragment =
|
||||
(AccountFolderListFragment) findFragmentById(R.id.account_folder_list_fragment);
|
||||
(AccountFolderListFragment) getFragmentManager()
|
||||
.findFragmentById(R.id.account_folder_list_fragment);
|
||||
mListFragment.bindActivityInfo(this);
|
||||
|
||||
if (icicle != null && icicle.containsKey(ICICLE_SELECTED_ACCOUNT)) {
|
||||
|
@ -89,7 +89,8 @@ public class MailboxList extends Activity implements MailboxListFragment.Callbac
|
||||
new Handler(), new ControllerResults());
|
||||
mActionBar = getActionBar();
|
||||
mErrorBanner = (TextView) findViewById(R.id.connection_error_text);
|
||||
mListFragment = (MailboxListFragment) findFragmentById(R.id.mailbox_list_fragment);
|
||||
mListFragment = (MailboxListFragment) getFragmentManager()
|
||||
.findFragmentById(R.id.mailbox_list_fragment);
|
||||
|
||||
mActionBar.setTitle(R.string.mailbox_list_title);
|
||||
mListFragment.setCallback(this);
|
||||
|
@ -175,7 +175,8 @@ public class MessageList extends Activity implements OnClickListener,
|
||||
|
||||
mControllerCallback = new ControllerResultUiThreadWrapper<ControllerResults>(
|
||||
new Handler(), new ControllerResults());
|
||||
mListFragment = (MessageListFragment) findFragmentById(R.id.message_list_fragment);
|
||||
mListFragment = (MessageListFragment) getFragmentManager()
|
||||
.findFragmentById(R.id.message_list_fragment);
|
||||
mMultiSelectPanel = findViewById(R.id.footer_organize);
|
||||
mReadUnreadButton = (Button) findViewById(R.id.btn_read_unread);
|
||||
mFavoriteButton = (Button) findViewById(R.id.btn_multi_favorite);
|
||||
|
@ -84,7 +84,8 @@ public class MessageView extends MessageViewBase implements View.OnClickListener
|
||||
public void onCreate(Bundle icicle) {
|
||||
super.onCreate(icicle);
|
||||
|
||||
mFragment = (MessageViewFragment) findFragmentById(R.id.message_view_fragment);
|
||||
mFragment = (MessageViewFragment) getFragmentManager()
|
||||
.findFragmentById(R.id.message_view_fragment);
|
||||
mFragment.setCallback(this);
|
||||
|
||||
// TODO Remove these bottom buttons, and make use of the ones in MessageViewFragments.
|
||||
|
Loading…
Reference in New Issue
Block a user