Esempio n. 1
0
    public void notify(String typeStr, Object data = null)
    {
        BaseNotification notification = new BaseNotification();

        notification.data = data;

        AppNotification note = new AppNotification(typeStr, notification);

        note.dispatch();
    }
Esempio n. 2
0
    private void notify(string type, object data = null)
    {
        INotification notificaion = new BaseNotification();

        notificaion.data = data;

        AppNotification note = new AppNotification(type, notificaion);

        note.dispatch();
    }