{"action":"created","issue":{"url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/59","repository_url":"https://api.github.com/repos/dongjunkun/DropDownMenu","labels_url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/59/comments","events_url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/59/events","html_url":"https://github.com/dongjunkun/DropDownMenu/issues/59","id":330502336,"node_id":"MDU6SXNzdWUzMzA1MDIzMzY=","number":59,"title":"怎么设置默认选中","user":{"login":"617450941","id":7607957,"node_id":"MDQ6VXNlcjc2MDc5NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/7607957?v=4","gravatar_id":"","url":"https://api.github.com/users/617450941","html_url":"https://github.com/617450941","followers_url":"https://api.github.com/users/617450941/followers","following_url":"https://api.github.com/users/617450941/following{/other_user}","gists_url":"https://api.github.com/users/617450941/gists{/gist_id}","starred_url":"https://api.github.com/users/617450941/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/617450941/subscriptions","organizations_url":"https://api.github.com/users/617450941/orgs","repos_url":"https://api.github.com/users/617450941/repos","events_url":"https://api.github.com/users/617450941/events{/privacy}","received_events_url":"https://api.github.com/users/617450941/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-08T02:56:23Z","updated_at":"2018-10-11T11:48:38Z","closed_at":null,"author_association":"NONE","body":"怎么设置默认选中"},"comment":{"url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/comments/428925556","html_url":"https://github.com/dongjunkun/DropDownMenu/issues/59#issuecomment-428925556","issue_url":"https://api.github.com/repos/dongjunkun/DropDownMenu/issues/59","id":428925556,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODkyNTU1Ng==","user":{"login":"yu1183688986","id":39176130,"node_id":"MDQ6VXNlcjM5MTc2MTMw","avatar_url":"https://avatars3.githubusercontent.com/u/39176130?v=4","gravatar_id":"","url":"https://api.github.com/users/yu1183688986","html_url":"https://github.com/yu1183688986","followers_url":"https://api.github.com/users/yu1183688986/followers","following_url":"https://api.github.com/users/yu1183688986/following{/other_user}","gists_url":"https://api.github.com/users/yu1183688986/gists{/gist_id}","starred_url":"https://api.github.com/users/yu1183688986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yu1183688986/subscriptions","organizations_url":"https://api.github.com/users/yu1183688986/orgs","repos_url":"https://api.github.com/users/yu1183688986/repos","events_url":"https://api.github.com/users/yu1183688986/events{/privacy}","received_events_url":"https://api.github.com/users/yu1183688986/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T11:48:38Z","updated_at":"2018-10-11T11:48:38Z","author_association":"NONE","body":"> 继承后，加个类 public void setpos(int current_tab_position){\r\n> this.current_tab_position=current_tab_position;\r\n> }，然后在调用这个控件的actvity里写：mDropDownMenu.setpos(0);\r\n> mDropDownMenu.setTabText(type_pos == 0 ? headers[0] :types[type_pos]);\r\n> mDropDownMenu.closeMenu();\r\n\r\n这样做还是不可以默认选中啊。。。"}}
{"actor":{"display_login":"yu1183688986"}}