java - Should I try to decouple activities from their fragments in an Android app? -


i have main class swaps in few different fragments. fragments have invoke methods on parent activity class, therefore activity , fragments tightly coupled. worthwhile or better practice decouple these or fragments commonly coupled parent activities?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -