For info, the way I ended up doing this is creating a new class called FrameworkInitialize which declares and instantiates an AppiumDriver called driver.
public class FrameworkInitialize {
public static AppiumDriver driver = null;
}
I can then use driver in other classes by either extending the class:
public class MattsTestSteps extends FrameworkInitialize {
or if you can’t extend as the class is already extended, create a new instance of the driver which is a copy of the original driver as shown below:
private AppiumDriver driver = FrameworkInitialize.driver;