ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

android:launchMode [AndroidManifest.xml] Activity ์‹œ์ž‘๊ณผ ๊ด€๋ จํ•œ ์†์„ฑ
  • call to its onNewIntent() : always make [new Intent]
  • routes the intent : not make new Intent [just routing]

 

 

- Multiple Instances

  • standard : multiple activities can be started. very first activity state is shown
  • singleTop : multiple activities can be started. latest activity state is shown

- Single Instances (not recommended for general use)

  • singleTask : just one activity with latest state
  • singleInstances : 

- Multiple Instances

  • standard : ์—ฌ๋Ÿฌ๊ฐœ์˜ ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€ ์‹คํ–‰ ๋  ์ˆ˜ ์žˆ๋‹ค. ๊ฐ€์žฅ ์ด์ „ ์ƒํƒœ์˜ ์•กํ‹ฐ๋น„ํ‹ฐ ์ƒํƒœ๋กœ ๋ณด์—ฌ์ง„๋‹ค.
  • singleTop : ์—ฌ๋Ÿฌ๊ฐœ์˜ ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€ ์‹คํ–‰ ๋  ์ˆ˜ ์žˆ๋‹ค. ๊ฐ€์žฅ ์ตœ์‹  ์ƒํƒœ๋กœ ๋ณด์—ฌ์ง„๋‹ค.

- Single Instances (not recommended for general use)

  • singleTask : ์‹คํ–‰๋œ ์•กํ‹ฐ๋น„ํ‹ฐ๋Š” ๋‹จ ํ•˜๋‚˜์ด๋ฉฐ ํ•ญ์ƒ ์ตœ์‹ ์˜ ์ƒํƒœ๋กœ ๋ณด์—ฌ์ง„๋‹ค. 
  • singleInstances :