Following is the dependency graph of my app. GameView constructor looks as follows
class GameView (
private var gameActivity: GameActivity
private val screenWidth: Int,
private val screenHeight: Int
) : SurfaceView(gameActivity), Runnable {
}
GameView constructor takes GameActivity instance as a parameter. Is this the case of circular dependency? Because…
Top comments (0)