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 takes an GameActivity instance as a parameter Is this the case of circular dependency ??…
Top comments (0)