Пример #1
0
        public override DestinationInformation GetDestinationInformation()
        {
            if (_followUps.Count == 0)
            {
                return(null);
            }

            if (_followUps.Count == 1)
            {
                Intent intent = new ProspectDetailsHelper().GetPropsectDetailIntent
                                (
                    Context,
                    new ProspectItem(_singleProspect.CastTo <ProspectSearchResult>())
                                );

                intent.PutExtra(ProspectDetailActivity.ProspectDetailsOrigin, ProspectDetailsOrigin.ProspectReminderClick.ToString());

                return(new DestinationInformation
                {
                    ContentIntent = intent,
                    ActivityType = typeof(ProspectListView)
                });
            }

            return(new DestinationInformation
            {
                ContentIntent = new Intent(Context, typeof(ProspectListView)),
                ActivityType = typeof(ProspectListView)
            });
        }