Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24121] Hyperloop (Android) - ability to implement Java annotations

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusReopened
ResolutionUnresolved
Affected Version/shyperloop 1.2.8
Fix Version/sn/a
ComponentsHyperloop
LabelsEscalation, hyperloop, hyperloop-examples
ReporterShuo Liang
AssigneeUnknown
Created2016-11-09T00:41:07.000+0000
Updated2019-03-04T21:25:59.000+0000

Description

Customer queried about following question. Please help on it. {quote} More of a question in a support ticket because there's no documentation or examples around it: Is it possible to implement something like this (java) into Hyperloop? Along with the annotations? We know how to extend. We don't know how to annotate.
    public class EventEntity extends GenericJson {
        @Key("_id")
        private String id; 

        @Key
        private String name;

        @Key
        private String location;

        @Key
        private String date;

        @Key("_kmd")
        private KinveyMetaData meta; // Kinvey metadata, OPTIONAL

    }
{quote}

Comments

No comments

JSON Source