Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2670

Android Parcelable Java generation option

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: Java - Compiler
    • Labels:

      Description

      I added a java compiler option, for Android, to generate parcelable structures. This means they implement android.os.Parcelable interface, and also define an inner static member called CREATOR. All data types are supported except for Sets, because android parcel doesn't have a way to write/read sets.

      I am making a github pull request for this. https://github.com/apache/thrift/pull/196

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roger Roger Meier
                Reporter:
                kedzie Marek Kedzierski
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified