{"action":"created","issue":{"url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/10","labels_url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/10/comments","events_url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/10/events","html_url":"https://github.com/kanytu/Android-studio-material-template/issues/10","id":67066381,"number":10,"title":"getAdapterPosition not resolving when first created","user":{"login":"peavers","id":1758007,"avatar_url":"https://avatars.githubusercontent.com/u/1758007?v=3","gravatar_id":"","url":"https://api.github.com/users/peavers","html_url":"https://github.com/peavers","followers_url":"https://api.github.com/users/peavers/followers","following_url":"https://api.github.com/users/peavers/following{/other_user}","gists_url":"https://api.github.com/users/peavers/gists{/gist_id}","starred_url":"https://api.github.com/users/peavers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peavers/subscriptions","organizations_url":"https://api.github.com/users/peavers/orgs","repos_url":"https://api.github.com/users/peavers/repos","events_url":"https://api.github.com/users/peavers/events{/privacy}","received_events_url":"https://api.github.com/users/peavers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T07:18:25Z","updated_at":"2015-04-08T08:20:03Z","closed_at":null,"body":"Line 43 and 47 of NavigationDrawerAdapter can't seem to resolve getAdapterPosition even after confirming a successful gradle build and the right support imports. Changing to the depreciated getPosition method lets the project build and work as expected. "},"comment":{"url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/comments/90839301","html_url":"https://github.com/kanytu/Android-studio-material-template/issues/10#issuecomment-90839301","issue_url":"https://api.github.com/repos/kanytu/Android-studio-material-template/issues/10","id":90839301,"user":{"login":"peavers","id":1758007,"avatar_url":"https://avatars.githubusercontent.com/u/1758007?v=3","gravatar_id":"","url":"https://api.github.com/users/peavers","html_url":"https://github.com/peavers","followers_url":"https://api.github.com/users/peavers/followers","following_url":"https://api.github.com/users/peavers/following{/other_user}","gists_url":"https://api.github.com/users/peavers/gists{/gist_id}","starred_url":"https://api.github.com/users/peavers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peavers/subscriptions","organizations_url":"https://api.github.com/users/peavers/orgs","repos_url":"https://api.github.com/users/peavers/repos","events_url":"https://api.github.com/users/peavers/events{/privacy}","received_events_url":"https://api.github.com/users/peavers/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T08:20:03Z","updated_at":"2015-04-08T08:20:03Z","body":"Running the latest version of android studio, created a fresh project with a minimum API 21 and everything as default. \r\n\r\n buildToolsVersion \"21.1.2\"\r\n```\r\napply plugin: 'com.android.application'\r\n\r\nandroid {\r\n    compileSdkVersion 21\r\n    buildToolsVersion \"21.1.2\"\r\n\r\n    defaultConfig {\r\n        applicationId \"org.example.myapplication\"\r\n        minSdkVersion 21\r\n        targetSdkVersion 21\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n}\r\n\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    compile 'com.android.support:support-v4:21.0.3'\r\n    compile 'com.android.support:appcompat-v7:21.0.3'\r\n    compile 'com.android.support:recyclerview-v7:21.0.3'\r\n}\r\n```"}}