You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class BatteryChargingBarChartView : BarChart {
//work here
}
public class BarChart extends BarLineChartBase<BarData> implements BarDataProvider {}
public abstract class BarLineChartBase<T extends BarLineScatterCandleBubbleData<? extends
IBarLineScatterCandleBubbleDataSet<? extends Entry>>>
extends Chart<T> implements BarLineScatterCandleBubbleDataProvider {}
public abstract class Chart<T extends ChartData<? extends IDataSet<? extends Entry>>> extends
ViewGroup
implements ChartInterface {}
Error: BatteryChargingBarChartView must extend android.view.View [Instantiatable]
<com.views.common.BatteryChargingBarChartView
^
Explanation for issues of type "Instantiatable":
Activities, services, broadcast receivers etc. registered in the manifest
file (or for custom views, in a layout file) must be "instantiatable" by
the system, which means that the class must be public, it must have an
empty public constructor, and if it's an inner class, it must be a static
inner class.
If you use a custom AppComponentFactory to instantiate app components
yourself, consider disabling this Lint issue in order to avoid false
positives.
Android Jellyfish
Java 17
kotlin 2.0
The text was updated successfully, but these errors were encountered:
Getting this issue must extend android.view.View
Android Jellyfish
Java 17
kotlin 2.0
The text was updated successfully, but these errors were encountered: