So, if the question is: “Is it good practice to create an inner class for simple functionality, when it could have been solved in a simpler way” then the answer is NO .
So, if the question is: “Is it good practice to create an inner class for simple functionality, when it could have been solved in a simpler way” then the answer is NO .