java - When should I create a new activity? -


when should new activity created in android? should create new activity each large task or switch views? what's best practice?

as general rule, whenever expect button reverse operation, start new activity.

the reason why there 100s of questions on stack overflow asking how override button developers not take approach, have dig out of resulting mess.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -