public void RevealOff()
{
if (binding.mapListContainer.Visibility != ViewStates.Visible)
{
return;
}
var container = binding.mapListContainer;
var animator = ViewAnimationUtils.CreateCircularReveal(
container,
container.Right,
container.Top,
(float) Java.Lang.Math.Hypot(container.Width, container.Height),
0);
animator.SetInterpolator(INTERPOLATOR);
animator.SetDuration(Resources.GetInteger(Resource.Integer.view_reveal_mills));
binding.mapListContainer.Visibility = ViewStates.Invisible; // TODO
// animator.addListener(new SupportAnimator.AnimatorListener() {
// @Override
// public void onAnimationStart() {
// // Do nothing
// }
//
// @Override
// public void onAnimationEnd() {
// binding.mapListContainer.setVisibility(INVISIBLE);
// }
//
// @Override
// public void onAnimationCancel() {
// // Do nothing
// }
//
// @Override
// public void onAnimationRepeat() {
// // Do nothing
// }
// });
//
// animator.start();
}