Typefaced* views now deprecated due to using reflection

This commit is contained in:
Denis Karmyshakov 2018-08-22 16:08:45 +03:00
parent 95aa507c39
commit 20705feac6
3 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,7 @@ import ru.touchin.roboswag.core.log.Lc;
* Also in debug mode it has common checks for popular bugs.
*/
@SuppressWarnings("PMD.ConstructorCallsOverridableMethod")
@Deprecated
//ConstructorCallsOverridableMethod: it's ok as we need to setTypeface
public class TypefacedEditText extends AppCompatEditText {

View File

@ -43,6 +43,7 @@ import ru.touchin.roboswag.core.log.Lc;
* Also in debug mode it has common checks for popular bugs.
*/
@SuppressWarnings("PMD.ConstructorCallsOverridableMethod")
@Deprecated
//ConstructorCallsOverridableMethod: it's ok as we need to setTypeface
public class TypefacedTextView extends AppCompatTextView {

View File

@ -39,6 +39,7 @@ import ru.touchin.roboswag.core.utils.ShouldNotHappenException;
* Created by Gavriil Sitnikov on 13/06/2016.
* Bunch of inner helper library methods to validate attributes of custom views.
*/
@Deprecated
public final class AttributesUtils {
/**