{ "id": "151487", "key": "TIMOB-19579", "fields": { "issuetype": { "id": "8", "description": "A technical task.", "name": "Technical task", "subtask": true }, "parent": { "id": "150516", "key": "TIMOB-19374", "fields": { "summary": "Android: Material Design Custom Animations", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-01T01:57:44.000+0000", "created": "2015-09-25T03:09:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android" ], "versions": [ { "id": "16778", "description": "Release 5.0.1", "name": "Release 5.0.1", "archived": false, "released": true, "releaseDate": "2015-09-25" }, { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "49340", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "152025", "key": "TIMOB-19722", "fields": { "summary": "Android: Use the Reveal Effect has NPE", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-10-27T00:14:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Reveal animations provide users visual continuity when you show or hide a group of UI elements. The ViewAnimationUtils.createCircularReveal() method enables you to animate a clipping circle to reveal or hide a view.", "attachment": [], "flagged": false, "summary": "Use the Reveal Effect", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "365457", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/7255\r\ntesting steps:\r\n{code}\r\nvar window = Ti.UI.createWindow({backgroundColor: \"white\"});\r\nvar view = Ti.UI.createView({top: 50, borderWidth: 5, borderRadius: 15, borderColor: \"blue\", width: 400, height: 600, backgroundColor: \"red\"});\r\nvar view2 = Ti.UI.createView({width: 100, height: 100, backgroundColor: \"yellow\"});\r\nview.add(view2);\r\nvar button = Ti.UI.createButton({title: \"Hide/show view w/ circular animation\"});\r\nbutton.addEventListener(\"click\", function(e) {\r\n if (view.visible) {\r\n \tview.hide({animated: true});\r\n } else {\r\n view.show({animated: true});\r\n }\r\n});\r\nwindow.add(view);\r\nwindow.add(button);\r\nwindow.open();\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-30T19:22:10.000+0000", "updated": "2015-09-30T19:22:10.000+0000" }, { "id": "365502", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR Merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-01T01:57:54.000+0000", "updated": "2015-10-01T01:57:54.000+0000" }, { "id": "366645", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "This PR introduced a bug here https://github.com/appcelerator/titanium_mobile/commit/52808d394be162771f607db916a73f9c44363beb#diff-bec22e2efdd8b352a7754ea42f435dc7R755 as {{options}} may be null (see e.g. [here|https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/ActivityIndicatorProxy.java#L64]). This results in a NPE \r\n{code}\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): FATAL EXCEPTION: main\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): Process: com.goyya.fde, PID: 4158\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a null object reference\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat org.appcelerator.titanium.util.TiConvert.toBoolean(TiConvert.java:371)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat org.appcelerator.titanium.proxy.TiViewProxy.handleShow(TiViewProxy.java:755)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat ti.modules.titanium.ui.ActivityIndicatorProxy.handleShow(ActivityIndicatorProxy.java:86)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat ti.modules.titanium.ui.ActivityIndicatorProxy.handleMessage(ActivityIndicatorProxy.java:64)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat android.os.Looper.loop(Looper.java:135)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat android.app.ActivityThread.main(ActivityThread.java:5254)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat java.lang.reflect.Method.invoke(Native Method)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n10-13 16:01:25.559: E/AndroidRuntime(4158): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n{code}", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-10-13T14:08:31.000+0000", "updated": "2015-10-13T14:08:31.000+0000" }, { "id": "366651", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "Here is a PR with a fix: https://github.com/appcelerator/titanium_mobile/pull/7295", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-10-13T14:22:08.000+0000", "updated": "2015-10-13T14:22:08.000+0000" }, { "id": "366751", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~manuellehner] Nice catch! (y)", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T03:13:40.000+0000", "updated": "2015-10-14T03:13:40.000+0000" }, { "id": "366752", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T03:25:14.000+0000", "updated": "2015-10-14T03:31:27.000+0000" }, { "id": "367895", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the implementation.\r\nHide & show of the view uses the circular animation(reveal effect).\r\n\r\nEnvironment:\r\nAppc Studio : 4.4.0.201510231805\r\nTi SDK : 5.1.0.v20151022152020\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.18\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1-6\r\nAppc CLI : 5.1.0-38\r\nNode: v0.10.37\r\nNexus 5 - Android 6.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-27T00:14:02.000+0000", "updated": "2015-10-27T00:14:12.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }