{"action":"created","issue":{"url":"https://api.github.com/repos/rey5137/material/issues/17","labels_url":"https://api.github.com/repos/rey5137/material/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/rey5137/material/issues/17/comments","events_url":"https://api.github.com/repos/rey5137/material/issues/17/events","html_url":"https://github.com/rey5137/material/issues/17","id":65986932,"number":17,"title":"NullPointer while Trying to use the progress indicator","user":{"login":"inteist","id":53954,"avatar_url":"https://avatars.githubusercontent.com/u/53954?v=3","gravatar_id":"","url":"https://api.github.com/users/inteist","html_url":"https://github.com/inteist","followers_url":"https://api.github.com/users/inteist/followers","following_url":"https://api.github.com/users/inteist/following{/other_user}","gists_url":"https://api.github.com/users/inteist/gists{/gist_id}","starred_url":"https://api.github.com/users/inteist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inteist/subscriptions","organizations_url":"https://api.github.com/users/inteist/orgs","repos_url":"https://api.github.com/users/inteist/repos","events_url":"https://api.github.com/users/inteist/events{/privacy}","received_events_url":"https://api.github.com/users/inteist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T18:39:10Z","updated_at":"2015-04-03T02:20:10Z","closed_at":null,"body":"Copying the code from the sample app \r\n\r\n```java\r\n    <com.rey.material.widget.ProgressView\r\n        android:id=\"@+id/progress_wheel\"\r\n        android:layout_width=\"32dp\"\r\n        android:layout_height=\"32dp\"\r\n        app:pv_autostart = \"true\"\r\n        app:pv_circular=\"true\"\r\n        app:pv_progressStyle=\"@style/CircularProgressDrawableStyle\"\r\n        app:pv_progressMode=\"indeterminate\"/>\r\n```\r\nI tried to wrap it in a FrameLayout (just in case) like it is done in the sample app to no avail. Any idea what's going on?\r\n\r\nand still getting this:\r\n\r\n```java\r\n04-02 18:33:48.550    1670-1670/info.androidz.horoscope E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    java.lang.NullPointerException\r\n            at com.rey.material.widget.ProgressView.getProgressMode(ProgressView.java:110)\r\n            at com.rey.material.widget.ProgressView.onAttachedToWindow(ProgressView.java:96)\r\n            at android.view.View.dispatchAttachedToWindow(View.java:11755)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)\r\n            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)\r\n            at android.view.ViewGroup.addViewInner(ViewGroup.java:3417)\r\n            at android.view.ViewGroup.addViewInLayout(ViewGroup.java:3354)\r\n            at android.view.ViewGroup.addViewInLayout(ViewGroup.java:3335)\r\n            at android.support.v4.view.ViewPager.addView(ViewPager.java:1307)\r\n            at android.view.ViewGroup.addView(ViewGroup.java:3194)\r\n            at android.view.ViewGroup.addView(ViewGroup.java:3170)\r\n            at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:968)\r\n            at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1136)\r\n            at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)\r\n            at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1499)\r\n            at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:488)\r\n            at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)\r\n            at android.support.v4.view.ViewPager.populate(ViewPager.java:1073)\r\n            at android.support.v4.view.ViewPager.populate(ViewPager.java:919)\r\n            at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1441)\r\n            at android.view.View.measure(View.java:15172)\r\n```"},"comment":{"url":"https://api.github.com/repos/rey5137/material/issues/comments/89123326","html_url":"https://github.com/rey5137/material/issues/17#issuecomment-89123326","issue_url":"https://api.github.com/repos/rey5137/material/issues/17","id":89123326,"user":{"login":"rey5137","id":4095408,"avatar_url":"https://avatars.githubusercontent.com/u/4095408?v=3","gravatar_id":"","url":"https://api.github.com/users/rey5137","html_url":"https://github.com/rey5137","followers_url":"https://api.github.com/users/rey5137/followers","following_url":"https://api.github.com/users/rey5137/following{/other_user}","gists_url":"https://api.github.com/users/rey5137/gists{/gist_id}","starred_url":"https://api.github.com/users/rey5137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rey5137/subscriptions","organizations_url":"https://api.github.com/users/rey5137/orgs","repos_url":"https://api.github.com/users/rey5137/repos","events_url":"https://api.github.com/users/rey5137/events{/privacy}","received_events_url":"https://api.github.com/users/rey5137/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T02:20:10Z","updated_at":"2015-04-03T02:20:10Z","body":"Can you pls show me the CircularProgressDrawableStyle you used?"}}