ich habe eine Probe auf git link (es ist nicht kompliziert ist)Wie mache ich eine Kompilierung compileSdkVersion?
gibt es VerticalSeekBar
Klasse und Methode setProgress()
innen
private synchronized void setProgress(int progress, boolean fromUser) {
if (mMethodSetProgress == null) {
try {
Method m;
m = this.getClass().getMethod("setProgress", int.class, boolean.class);
m.setAccessible(true);
mMethodSetProgress = m;
} catch (NoSuchMethodException ignored) {
}
}
if (mMethodSetProgress != null) {
try {
mMethodSetProgress.invoke(this, progress, fromUser);
} catch (IllegalArgumentException | IllegalAccessException | InvocationTargetException ignored) {
}
} else {
super.setProgress(progress);
}
refreshThumb();
}
Ausgabe ist - wenn compileSdkVersion
-23 alles ist in Ordnung, aber wenn compileSdkVersion
- 24, IDEA sagt, dass ich private
zu public
ändern muss, wurden alle gemacht. Ich starte meine App und nichts funktioniert, wegen meiner Änderungen Methode setProgress()
aufrufen selbst und eventualy bekomme ich Endlosschleife ...
Hilf mir bitte, wie kann ich compileSdkVersion
zu 24 ändern?