public void listTweets() { com.twapime.app.ui.Timeline ui = new com.twapime.app.ui.Timeline("Tweets of List", listUI, midlet); ui.show(); // ListManager t = ListManager.getInstance(userManager); t.startGetListTweets(lists[listUI.getSelectedIndex()], null, ui); }
public void fetchLists() { ListManager lstMngr = ListManager.getInstance(userManager); // try { showAlert("Fetching lists...", AlertType.INFO, listUI); // lists = lstMngr.getLists(); // for (int i = 0; i < lists.length; i++) { listUI.append(lists[i].getString(MetadataSet.LIST_NAME), null); } // showAlert("Lists fetched!", AlertType.INFO, listUI); } catch (Exception e) { showAlert(e.getMessage(), AlertType.WARNING, listUI); } }