android - what is different between setColorSchemeColors(int... colors) and setColorSchemeResources(int... colorResIds) and setColorScheme(int... colors)? -
android - what is different between setColorSchemeColors(int... colors) and setColorSchemeResources(int... colorResIds) and setColorScheme(int... colors)? -
in android doc https://developer.android.com/reference/android/support/v4/widget/swiperefreshlayout.html#setcolorschemecolors(int...) set color schema have 3 methods difference between 3 methods?
setcolorscheme(int... colors) setcolorschemecolors(int... colors) setcolorschemeresources(int... colorresids)
looking @ api docs, can see setcolorscheme
deprecated in favour of setcolorschemeresources
. forget first one.
the different between setcolorschemecolors
, setcolorschemeresources
former takes colour values parameters , latter takes resource ids.
so.
setcolorscheme
- not utilize this setcolorschemecolors
- utilize when setting specific colour values setcolorschemeresources
- utilize when setting resource references colours. android
Comments
Post a Comment