void ReleaseDesignerOutlets()
        {
            if (FlatButton != null)
            {
                FlatButton.Dispose();
                FlatButton = null;
            }

            if (FloatingActionButton != null)
            {
                FloatingActionButton.Dispose();
                FloatingActionButton = null;
            }

            if (Label != null)
            {
                Label.Dispose();
                Label = null;
            }

            if (RaisedButton != null)
            {
                RaisedButton.Dispose();
                RaisedButton = null;
            }
        }
        protected override void OnDestroy()
        {
            base.OnDestroy();
            addBtn.Click -= AddBtn_Click;

            model.Dispose();
            addBtn.Dispose();
            adapter.Dispose();
        }
        protected override void OnDestroy()
        {
            base.OnDestroy();

            btnSave.Click -= BtnSave_Click;
            btnSave.Dispose();

            toolbar.Dispose();
            presenter.Dispose();
        }
        protected override void OnDestroy()
        {
            base.OnDestroy();

            btnAdd.Click -= BtnAdd_Click;
            btnAdd.Dispose();

            adapterItem.ItemClick -= OnItemClick;
            adapterItem.Dispose();

            presenter.Dispose();
        }
        protected override void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    if (existingImageWrapper != null)
                    {
                        existingImageWrapper.Dispose();
                    }
                    if (existingImage != null)
                    {
                        existingImage.Dispose();
                    }
                    if (progressBar != null)
                    {
                        progressBar.Dispose();
                    }
                    if (cropViewWrapper != null)
                    {
                        cropViewWrapper.Dispose();
                    }
                    if (cropView != null)
                    {
                        cropView.Dispose();
                    }
                    if (imageWrapper != null)
                    {
                        imageWrapper.Dispose();
                    }
                    if (missingImageButton != null)
                    {
                        missingImageButton.Dispose();
                    }
                    if (coordinatorLayout != null)
                    {
                        coordinatorLayout.Dispose();
                    }
                    if (selector != null)
                    {
                        selector.Dispose();
                    }
                    if (imageBtn != null)
                    {
                        imageBtn.Dispose();
                    }
                    if (dateBtn != null)
                    {
                        dateBtn.Dispose();
                    }
                    if (editName != null)
                    {
                        editName.Dispose();
                    }
                    if (fab != null)
                    {
                        fab.Dispose();
                    }
                    if (editAmount != null)
                    {
                        editAmount.Dispose();
                    }
                    if (toolbar != null)
                    {
                        toolbar.Dispose();
                    }
                }

                disposed = true;
            }
            base.Dispose(disposing);
        }