linearLayout.addView(textView);
}
final FriendListActivity activity = this;
Button clearAuthButton = new Button(this);
clearAuthButton.setText("Clear Auth");
clearAuthButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
clearSavedAuthentication();
}
});
Button fetchFriendsButton = new Button(this);
fetchFriendsButton.setText("Fetch Friends");
fetchFriendsButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
activity.setupClient();
}
});