Resolved conflicts.
This commit is contained in:
@@ -113,6 +113,7 @@ public class MainActivity extends AppCompatActivity implements CameraFragment.On
|
|||||||
FragmentManager man = getFragmentManager();
|
FragmentManager man = getFragmentManager();
|
||||||
ProfileFragment frag = (ProfileFragment) man.findFragmentById(R.id.content);
|
ProfileFragment frag = (ProfileFragment) man.findFragmentById(R.id.content);
|
||||||
FragmentTransaction transaction = man.beginTransaction();
|
FragmentTransaction transaction = man.beginTransaction();
|
||||||
|
frag.progressDialog.dismiss();
|
||||||
transaction.detach(frag)
|
transaction.detach(frag)
|
||||||
.attach(frag)
|
.attach(frag)
|
||||||
.commit();
|
.commit();
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ public class ProfileFragment extends Fragment implements View.OnClickListener {
|
|||||||
protected TextView profileName;
|
protected TextView profileName;
|
||||||
protected ImageView profilePicture;
|
protected ImageView profilePicture;
|
||||||
protected FirebaseUser user;
|
protected FirebaseUser user;
|
||||||
private ProgressDialog progressDialog;
|
ProgressDialog progressDialog;
|
||||||
|
|
||||||
|
|
||||||
/// Required empty public constructor ///
|
/// Required empty public constructor ///
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user