{"action":"created","issue":{"url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/3","repository_url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup","labels_url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/3/comments","events_url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/3/events","html_url":"https://github.com/Xjasz/AndroidZoomableViewGroup/issues/3","id":339790341,"node_id":"MDU6SXNzdWUzMzk3OTAzNDE=","number":3,"title":"click event incorrect after zoom listview","user":{"login":"chutrung","id":8856550,"node_id":"MDQ6VXNlcjg4NTY1NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8856550?v=4","gravatar_id":"","url":"https://api.github.com/users/chutrung","html_url":"https://github.com/chutrung","followers_url":"https://api.github.com/users/chutrung/followers","following_url":"https://api.github.com/users/chutrung/following{/other_user}","gists_url":"https://api.github.com/users/chutrung/gists{/gist_id}","starred_url":"https://api.github.com/users/chutrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutrung/subscriptions","organizations_url":"https://api.github.com/users/chutrung/orgs","repos_url":"https://api.github.com/users/chutrung/repos","events_url":"https://api.github.com/users/chutrung/events{/privacy}","received_events_url":"https://api.github.com/users/chutrung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-10T10:50:05Z","updated_at":"2018-07-10T17:48:59Z","closed_at":null,"author_association":"NONE","body":"Hello Xjasz,\r\n\r\nI tried your code, it worked.\r\nBut I found a problem after zoom list view.\r\nI clicked the first item in listview to show content (purpose item just is a string) after I zoomed listview. But  the second item's content  showed.\r\nI tried fix this problem but didn't work.\r\nSo, could you share your opinion and solution?\r\n\r\nMany thanks."},"comment":{"url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/comments/403909597","html_url":"https://github.com/Xjasz/AndroidZoomableViewGroup/issues/3#issuecomment-403909597","issue_url":"https://api.github.com/repos/Xjasz/AndroidZoomableViewGroup/issues/3","id":403909597,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzkwOTU5Nw==","user":{"login":"chutrung","id":8856550,"node_id":"MDQ6VXNlcjg4NTY1NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/8856550?v=4","gravatar_id":"","url":"https://api.github.com/users/chutrung","html_url":"https://github.com/chutrung","followers_url":"https://api.github.com/users/chutrung/followers","following_url":"https://api.github.com/users/chutrung/following{/other_user}","gists_url":"https://api.github.com/users/chutrung/gists{/gist_id}","starred_url":"https://api.github.com/users/chutrung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chutrung/subscriptions","organizations_url":"https://api.github.com/users/chutrung/orgs","repos_url":"https://api.github.com/users/chutrung/repos","events_url":"https://api.github.com/users/chutrung/events{/privacy}","received_events_url":"https://api.github.com/users/chutrung/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T17:48:59Z","updated_at":"2018-07-10T17:48:59Z","author_association":"NONE","body":"Hello Xjasz,\r\n\r\nThe following is code that i implemented:\r\nMainActivity.java file\r\n```\r\npublic class MainActivity extends AppCompatActivity {\r\n    String arr[]={\"Today\",\"is\",\"a\",\"beautiful\",\"day\"};\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_main);\r\n        ZoomListView  zoomListView = findViewById(R.id.zlv);\r\n        ArrayAdapter<String> adapter = new ArrayAdapter<>(this,android.R.layout.simple_list_item_1,arr);\r\n        zoomListView.setAdapter(adapter);\r\n\r\n        zoomListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\r\n            @Override\r\n            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\r\n                Toast.makeText(MainActivity.this,arr[position],Toast.LENGTH_SHORT).show();\r\n            }\r\n        });\r\n    }\r\n}\r\n```\r\nAnd activity.xml file\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout\r\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:tools=\"http://schemas.android.com/tools\"\r\n    xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    tools:context=\".MainActivity\">\r\n\r\n    <com.trungchu.zoomlistview.ZoomListView\r\n        android:id=\"@+id/zlv\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        />\r\n\r\n</LinearLayout>\r\n```\r\nAfter I zoom out the listview, I clicked the first item but a toast with string \"is\" showed.\r\nBest regards,"}}
{"actor":{"display_login":"chutrung"}}