Skip to content
Vector View scope
Type to start searching
    Vector
    Vector
    • Overview
    • Introduction
    • Basics
    • Advanced Usage
      • Vector State
      • Vector Fragment
      • Vector ViewModel
      • SavedState VectorViewModel
      • Logging
      • Automatic ViewModel Creation
      • Coroutine Context for State Store
    • API Reference
    

    vector / com.haroldadmin.vector / VectorFragment / viewScope

    viewScope¶

    protected open val ~~viewScope~~: CoroutineScope Deprecated: Use the AndroidX provided lifecycle scope extension instead

    A CoroutineScope associated with the view-lifecycle of this fragment. The scope is cancelled when onDestroyView of this Fragment has been called, and created when onCreateView is called.

    This is deprecated, and simply delegates to the lifecycle library's androidx.lifecycle.lifecycleScope property

    powered by MkDocs and Material for MkDocs