private void loadRemoteTabs() { if (!SyncAccounts.syncAccountsExist(mActivity)) { post( new Runnable() { public void run() { mRemoteTabs.hide(); } }); return; } TabsAccessor.getTabs(getContext(), NUMBER_OF_REMOTE_TABS, this); }
// This method returns all tabs from all remote clients, // ordered by most recent client first, most recent tab first public static void getTabs(final Context context, final OnQueryTabsCompleteListener listener) { getTabs(context, 0, listener); }