{"action":"created","issue":{"url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/142","repository_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar","labels_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/142/comments","events_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/142/events","html_url":"https://github.com/ragunathjawahar/android-saripaar/issues/142","id":137416877,"number":142,"title":"Proguard - ViewDataAdapter - getData returns Object","user":{"login":"Nasca91","id":7808265,"avatar_url":"https://avatars.githubusercontent.com/u/7808265?v=3","gravatar_id":"","url":"https://api.github.com/users/Nasca91","html_url":"https://github.com/Nasca91","followers_url":"https://api.github.com/users/Nasca91/followers","following_url":"https://api.github.com/users/Nasca91/following{/other_user}","gists_url":"https://api.github.com/users/Nasca91/gists{/gist_id}","starred_url":"https://api.github.com/users/Nasca91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nasca91/subscriptions","organizations_url":"https://api.github.com/users/Nasca91/orgs","repos_url":"https://api.github.com/users/Nasca91/repos","events_url":"https://api.github.com/users/Nasca91/events{/privacy}","received_events_url":"https://api.github.com/users/Nasca91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-29T23:50:40Z","updated_at":"2016-04-12T16:55:30Z","closed_at":null,"body":"Hi, here is my ViewDataAdapter for TextInputLayout View.\r\n\r\n\r\n```\r\npublic class TextInputLayoutAdapter implements ViewDataAdapter<TextInputLayout, String> {\r\n    @Override\r\n    public String getData(TextInputLayout view) throws ConversionException {\r\n        return view.getEditText().getText().toString();\r\n    }\r\n}\r\n```\r\n\r\nIt works well in Debug mode but in Release, with Proguard, I have an UnsupportedOperationException caused by the ViewDataAdapter.\r\n\r\nCan someone help me?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/comments/209005369","html_url":"https://github.com/ragunathjawahar/android-saripaar/issues/142#issuecomment-209005369","issue_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/142","id":209005369,"user":{"login":"ragunathjawahar","id":1141970,"avatar_url":"https://avatars.githubusercontent.com/u/1141970?v=3","gravatar_id":"","url":"https://api.github.com/users/ragunathjawahar","html_url":"https://github.com/ragunathjawahar","followers_url":"https://api.github.com/users/ragunathjawahar/followers","following_url":"https://api.github.com/users/ragunathjawahar/following{/other_user}","gists_url":"https://api.github.com/users/ragunathjawahar/gists{/gist_id}","starred_url":"https://api.github.com/users/ragunathjawahar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragunathjawahar/subscriptions","organizations_url":"https://api.github.com/users/ragunathjawahar/orgs","repos_url":"https://api.github.com/users/ragunathjawahar/repos","events_url":"https://api.github.com/users/ragunathjawahar/events{/privacy}","received_events_url":"https://api.github.com/users/ragunathjawahar/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T16:55:30Z","updated_at":"2016-04-12T16:55:30Z","body":"Try excluding your adapter from obfuscation."}}