use of com.battlelancer.seriesguide.ui.dialogs.RemoveCloudAccountDialogFragment in project SeriesGuide by UweTrottmann.
the class CloudSetupFragment method onCreateView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.fragment_cloud_setup, container, false);
textViewDescription = (TextView) v.findViewById(R.id.textViewCloudDescription);
textViewUsername = ButterKnife.findById(v, R.id.textViewCloudUsername);
textViewWarning = ButterKnife.findById(v, R.id.textViewCloudWarnings);
progressBar = (ProgressBar) v.findViewById(R.id.progressBarCloud);
buttonAction = (Button) v.findViewById(R.id.buttonCloudAction);
buttonRemoveAccount = ButterKnife.findById(v, R.id.buttonCloudRemoveAccount);
buttonRemoveAccount.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
setProgressVisible(true);
DialogFragment f = new RemoveCloudAccountDialogFragment();
f.show(getFragmentManager(), "remove-cloud-account");
}
});
updateViews();
setProgressVisible(true);
return v;
}
Aggregations