We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I built the Sheet and show it, then I want to update the title so I set the new title and rebuilt but I show for the second time I get crash:
log: "The specified child already has a parent. You must call removeView() on the child's parent first."
private void showNewEventSheet(String address, LatLng latLng) { if (mEventDialog == null) { mEventDialog = new BottomDialog.Builder(mActivity) .setTitle(address) .setContent(R.string.radius_content_message) .setPositiveText(R.string.save) .setNegativeText("Cancel") .setCustomView(mSheetView) .setCancelable(false) .onPositive(bottomDialog -> { new GeoModel(mRadius, latLng.latitude, latLng.longitude, address).save(); enterRadiusAndStayStillFence(latLng, mRadius); getViewState().showFenceIndicate(); getViewState().showSettingsFab(); }) .onNegative(bottomDialog -> cancelEvent()) .show(); } else { **mEventDialog.getBuilder().setTitle(address).build();** mEventDialog.show(); } } }
The text was updated successfully, but these errors were encountered:
fec7662
javiersantos
No branches or pull requests
Hello,
I built the Sheet and show it, then I want to update the title so I set the new title and rebuilt but I show for the second time I get crash:
log: "The specified child already has a parent. You must call removeView() on the child's parent first."
The text was updated successfully, but these errors were encountered: