Project

General

Profile

Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / json @ 958a6e81

Name Size
JsonReader.java 38.9 KB
JsonWriter.java 21 KB

Latest revisions

# Date Author Comment
958a6e81 01/03/2023 03:27 PM Leszek Koltunski

Very important bugfix for an issue which probably has been the reason for many mysterious behaviours in the past: the JsonReader class cannot be a singleton! Convert it into a normal 'instanced' class.
With it being a singleton there's a major issue: when we create a new TwistyObject from a JSON file (by, for example, going to PurchaseActivity) and then we come back to the old object (by, for example, going back to the main RubikActivity) - then the JsonReader inside the old object has read the new JSON file and thus many of the 'abstract' methods in the old TwistyObject (for example getShortName()) all of the sudden start returning new values!

8b3b1d85 12/20/2022 02:59 PM Leszek Koltunski

Changes to the initialization - initialize the 'bought objects'

b63235a0 12/09/2022 01:17 AM Leszek Koltunski

Make it possible to create Diamond and Icosahedron-shaped objects to be read from json.

6db8fe2e 11/16/2022 02:14 PM Leszek Koltunski

More support for pillowing; pillow Morphix and Jing by default.

c2b997b2 08/13/2022 11:50 PM Leszek Koltunski

IAP, part 3: non-free objects appear in the popup with a lock icon.

84224c99 08/12/2022 12:37 AM Leszek Koltunski

IAP, part 1: Introduce the concept of a 'free' and 'not free' object to

- ObjectType
- DownloadedObject
- RubikObject
- jsons

882a8142 07/28/2022 12:20 AM Leszek Koltunski

Make ObjectSignature ready for any size bandaged cube.

4c87f159 07/15/2022 12:56 AM Leszek Koltunski

main: license.

3ce95490 07/12/2022 03:28 PM Leszek Koltunski

Do not crash when something's wrong with the JSON file - handle this gracefully, do not change the object then, and report this to Firebase.

52cc8639 06/20/2022 12:33 AM Leszek Koltunski

Bugfix

View revisions

Also available in: Atom