Is this OK to understand that Activity is similar to ViewController in iOS?

Yes, I would say that Activity and ViewController are rather similar. There is just one BIG difference. In iOS you have a delegate to control your application’s state, like a new ViewController has started or the application is finished. In Android you do this separately for each activity via onCreate(), onPause(), etc.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)