Help in BarChartView class

Hello everyone

For anybody that is familiar with the Java classes in ui/statistics section. I am currently facing an issue with the class “BarChartView” that is located on ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/years. In order to create an instance of this class, I have to use the constructor which takes as a parameter a Context object. Unfortunately, I cannot find a way to have a Context object without this being null, and therefore I cannot create an object of this class and use any methods. Does someone knows how to resolve this issue?