Niels profile #17

Merged
11025980 merged 11 commits from niels-profile into master 2017-06-26 16:21:12 +02:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 83d2bda5c1 - Show all commits

View File

@@ -113,6 +113,7 @@ public class MainActivity extends AppCompatActivity implements CameraFragment.On
FragmentManager man = getFragmentManager();
ProfileFragment frag = (ProfileFragment) man.findFragmentById(R.id.content);
FragmentTransaction transaction = man.beginTransaction();
frag.progressDialog.dismiss();
transaction.detach(frag)
.attach(frag)
.commit();

View File

@@ -42,7 +42,8 @@ public class ProfileFragment extends Fragment implements View.OnClickListener {
protected TextView profileName;
protected ImageView profilePicture;
protected FirebaseUser user;
private ProgressDialog progressDialog;
ProgressDialog progressDialog;
/// Required empty public constructor ///