{"action":"closed","issue":{"url":"https://api.github.com/repos/dev-labs-bg/transitioner/issues/3","repository_url":"https://api.github.com/repos/dev-labs-bg/transitioner","labels_url":"https://api.github.com/repos/dev-labs-bg/transitioner/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dev-labs-bg/transitioner/issues/3/comments","events_url":"https://api.github.com/repos/dev-labs-bg/transitioner/issues/3/events","html_url":"https://github.com/dev-labs-bg/transitioner/issues/3","id":307582205,"number":3,"title":"How can I make a swipe transition? ","user":{"login":"davidmarinangeli","id":19487461,"avatar_url":"https://avatars3.githubusercontent.com/u/19487461?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmarinangeli","html_url":"https://github.com/davidmarinangeli","followers_url":"https://api.github.com/users/davidmarinangeli/followers","following_url":"https://api.github.com/users/davidmarinangeli/following{/other_user}","gists_url":"https://api.github.com/users/davidmarinangeli/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarinangeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarinangeli/subscriptions","organizations_url":"https://api.github.com/users/davidmarinangeli/orgs","repos_url":"https://api.github.com/users/davidmarinangeli/repos","events_url":"https://api.github.com/users/davidmarinangeli/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarinangeli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-22T10:21:40Z","updated_at":"2018-03-22T16:00:34Z","closed_at":"2018-03-22T16:00:34Z","author_association":"NONE","body":"Hello! \r\n\r\nI really like your library and I'm trying to develop a transition like the weather app on your Readme: how could I make an up/down swipe? \r\n\r\nI've tried with this but the result is VERY BAD.  Do you know where I can find some examples? Thanks. \r\n`var screenSize = size.y\r\n        screen.setOnTouchListener { v, event ->\r\n            when (event.action) {\r\n                MotionEvent.ACTION_DOWN -> {\r\n                    oldY = event.y\r\n                    true\r\n                }\r\n                MotionEvent.ACTION_MOVE -> {\r\n                    transition.setProgress((event.y - oldY)/screenSize)\r\n                    true\r\n                }\r\n                else -> {\r\n                    true\r\n                }\r\n            }\r\n        }`"}}
{"actor":{"display_login":"RadoslavYankov"}}