Skip to content
Vector Context
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 / context

    context¶

    funViewModelOwner.context():Context

    Get access to Context from a ViewModelOwner.

    When this is an ActivityViewModelOwner, it returns the wrapped activity itself. When this is a FragmentViewModelOwner, returns the context from the wrapped fragment.

    powered by MkDocs and Material for MkDocs