Closed dronicfore closed 2 years ago
Please help us fix these constructors for those who prefer to create these Views programmatically instead of using XML.
Inside my application (MainActivity.java):
Are throwing NullPointerException.
// Log Error Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String android.util.AttributeSet.getAttributeValue(java.lang.String, java.lang.String)' on a null object reference
Please help us fix these constructors for those who prefer to create these Views programmatically instead of using XML.
Inside my application (MainActivity.java):
Are throwing NullPointerException.
// Log Error Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String android.util.AttributeSet.getAttributeValue(java.lang.String, java.lang.String)' on a null object reference