Using Jake Wharton's ViewPageIndicator

[亡魂溺海] 提交于 2019-12-12 10:23:29

问题


I'm trying to use the ViewPageIndicator library in my class, but am running into difficulties. I downloaded the library from Git, created a new Android project using the library code, and it is filled with errors. I made sure that the support libraries for v4 and v13 are there, which cut down on the errors by quite a bit, but there are still hundreds of errors flagged by Eclipse. Most of them are due to @Override which leads me to believe I'm missing a support library. The installation instructions on the GitHub page are as vague as can be and just mentions adding it as a library to your project, nothing more. So is there something that I'm missing here?


回答1:


@Overide errors can be solved simply by doing the following:

  1. Right click Project > Properties

  2. Java Compilers > click 'Enable project specific settings' and set Compiler level to 1.6

  3. Click 'Apply'



来源:https://stackoverflow.com/questions/11271988/using-jake-whartons-viewpageindicator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!