android - Fragments or Actvities in applications made by Google -
i inquire android applications made google. know in gmail main activity navigation drawer has fragments labels , mail service boxes. when click on mail service message fragment or activity. same play store. clicking on application card starts new activity or initializes new fragment?
you can utilize adb shell dumpsys activity command inspect activities on current stack.
for example, looking in app in google play (package name com.android.vending) looks this:
stack #1: task id #95 taskrecord{431faea0 #95 a=com.android.vending u=0 sz=1} intent { act=android.intent.action.main cat=[android.intent.category.launcher] flg=0x10304000 cmp=com.android.vending/.assetbrowseractivity bnds=[328,886][656,1176] } hist #0: activityrecord{42bed540 u0 com.android.vending/.assetbrowseractivity t95} intent { act=android.intent.action.main cat=[android.intent.category.launcher] flg=0x10304000 cmp=com.android.vending/.assetbrowseractivity bnds=[328,886][656,1176] } processrecord{41ef5608 14444:com.android.vending/u0a16} thus way used fragments.
android android-activity fragment
No comments:
Post a Comment