问题描述:

I am new in Android. My question is logical. Is there any side effect in using dependencies. For instance , i use

compile 'com.astuetz:pagerslidingtabstrip:1.0.1'

for viewpager.

Is this can be a problem in any way for me ?

网友答案:

No. A problem can be f you're using compile 'com.astuetz:pagerslidingtabstrip:+' and then the author of the dependency changes something. This may cause a problem because you will be using the latest version (because of '+' ) and will be never aware of the changes in the dependency. As long as you specify the exact version you are safe. There's a lint warning for that.

相关阅读:
Top