Android: Type of Activity

Activities are the most utilized components of Android components. However, because the Activity class provides only basic functionality, there is a lot of inconvenience to write a lot of code that is similar when configuring screens using tabs or list views.

↳ android.content.Context
↳ android.content.ContextWrapper
↳ android.view.ContextThemeWrapper

Known Direct Subclasses

  • AccountAuthenticatorActivity
  • ActivityGroup
  • AliasActivity
  • ExpandableListActivity
  • FragmentActivity
  • ListActivity
  • NativeActivity
  • TestActivity

Known Indirect Subclasses

  • ActionBarActivity
  • AppCompatActivity
  • LauncherActivity
  • PreferenceActivity
  • TabActivity

You can make your screen configuration easier by using Activity classes that are specific to certain functions. The usage is very similar, so if you use one or two you can easily use other Activities.

In other words, it is not necessary to learn all the Activities one by one, and it is important to get acquainted with the characteristics of the main Activities.

Share This Post

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다

Latest Post