Ejemplo n.º 1
0
        internal override bool ShowInternal()
        {
#if UNITY_ANDROID
            return(ShowBuilder(ToAJO()));
#elif UNITY_IOS
            return(_gs_showActivityDetailsView(_customWindowTitle, _activityId, _showActivityFeedView, _readOnly, _commentId,
                                               ActivityFeedActionButtonCallback.OnActionButtonClick,
                                               _onButtonClicked.GetPointer(),
                                               Callbacks.ActionCallback,
                                               _onOpen.GetPointer(),
                                               Callbacks.ActionCallback,
                                               _onClose.GetPointer(),
                                               UiActionListenerCallback.OnUiAction,
                                               _uiActionListener.GetPointer(),
                                               AvatarClickListenerCallback.OnAvatarClicked,
                                               _onAvatarClickListener.GetPointer(),
                                               MentionClickListenerCallback.OnMentionClicled,
                                               _onMentionClickListener.GetPointer(),
                                               TagClickListenerCallback.OnTagClicked,
                                               _tagClickListener.GetPointer(),
                                               ActionListenerCallback.OnAction,
                                               _actionListener.GetPointer()));
#else
            return(false);
#endif
        }
        internal override bool ShowInternal()
        {
#if UNITY_ANDROID
            return(ShowBuilder(ToAJO()));
#elif UNITY_IOS
            return(_gs_showActivityFeedView(_customWindowTitle, _feed, _filterUserId, _readOnly, _friendsFeed,
                                            GSJson.Serialize(new List <string>(_tags)),
                                            ActivityFeedActionButtonCallback.OnActionButtonClick,
                                            _onButtonClickListener.GetPointer(),
                                            Callbacks.ActionCallback,
                                            _onOpen.GetPointer(),
                                            Callbacks.ActionCallback,
                                            _onClose.GetPointer(),
                                            UiActionListenerCallback.OnUiAction,
                                            _uiActionListener.GetPointer(),
                                            AvatarClickListenerCallback.OnAvatarClicked,
                                            _onAvatarClickListener.GetPointer(),
                                            MentionClickListenerCallback.OnMentionClicled,
                                            _onMentionClickListener.GetPointer(),
                                            TagClickListenerCallback.OnTagClicked,
                                            _tagClickListener.GetPointer(),
                                            ActionListenerCallback.OnAction,
                                            _actionListener.GetPointer()));
#else
            return(false);
#endif
        }
Ejemplo n.º 3
0
        internal override bool ShowInternal()
        {
#if UNITY_ANDROID
            return(ShowBuilder(ToAJO()));
#elif UNITY_IOS
            return(_gs_showActivityFeedView(_customWindowTitle, GSJson.Serialize(_query),
                                            Callbacks.ActionCallback, _onOpen.GetPointer(),
                                            Callbacks.ActionCallback, _onClose.GetPointer(),
                                            UiActionListenerCallback.OnUiAction, _uiActionListener.GetPointer(),
                                            AvatarClickListenerCallback.OnAvatarClicked, _onAvatarClickListener.GetPointer(),
                                            MentionClickListenerCallback.OnMentionClicked, _onMentionClickListener.GetPointer(),
                                            TagClickListenerCallback.OnTagClicked, _tagClickListener.GetPointer(),
                                            ActionListenerCallback.OnAction, _actionListener.GetPointer()));
#else
            return(false);
#endif
        }