Merge pull request #572 from maskaravivek/mapInfoClick

Close fragment when tapped on the empty section
This commit is contained in:
neslihanturan 2017-05-14 15:25:00 +03:00 committed by GitHub
commit ec387bf3c3
2 changed files with 98 additions and 76 deletions

View file

@ -107,4 +107,9 @@ public class NearbyInfoDialog extends OverlayDialog {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, articleLink);
startActivity(browserIntent);
}
@OnClick(R.id.emptyLayout)
void onCloseClicked() {
dismissAllowingStateLoss();
}
}