About 596 results
Open links in new tab
  1. Lesson 12: Repository pattern and WorkManager - Android …

    Build AI-powered Android apps with Gemini APIs and more. Get started Get started; Start by creating your first app. Go deeper with our training courses or explore app development on your own. Hello world Training courses ... Repository pattern and WorkManager.

  2. Guide to app architecture - Android Developers

    Feb 10, 2025 · As Android apps grow in size, it's important to define an architecture that allows the app to scale, increases the app's robustness, and makes the app easier to test. An app architecture defines the boundaries between parts of the …

  3. Add repository and Manual DI | Android Developers

    You will learn how to implement the repository pattern and use dependency injection. Dependency injection creates a more flexible coding structure that helps with development and testing. Prerequisites

  4. Data layer | App architecture | Android Developers

    Feb 10, 2025 · You should create a repository class for each different type of data you handle in your app. For example, you might create a MoviesRepository class for data related to movies, or a PaymentsRepository class for data related to payments.

  5. 存储库模式 | Android Developers

    我们欢迎并鼓励您自行熟悉该代码,您在这里只会接触到 repository/VideosRepository.kt 和 viewmodels/DevByteViewModel 这两个文件。 首先,您将创建一个 VideosRepository 类来实现用于缓存的仓库模式(在接下来的几页中,我们会进行详细介绍),然后更新 DevByteViewModel 以 …

  6. Pola Repositori - Android Developers

    Di repository/VideoRepository.kt, buat kelas VideosRepository. Teruskan objek VideosDatabase sebagai parameter konstruktor class untuk mengakses metode DAO.

  7. Mẫu kho lưu trữ - Android Developers

    https://github.com/google-developer-training/android-kotlin-fundamentals-starter-apps/tree/master/RepositoryPattern-Starter. Tên nhánh có mã khởi đầu: master. Để lấy mã nguồn cho lớp học lập trình này và mở đoạn mã đó trong Android Studio, hãy …

  8. 저장소 패턴 - Android Developers

    코드를 잘 알고 있는 것이 좋지만 repository/VideosRepository.kt와 viewmodels/DevByteViewModel 두 파일만 사용합니다. 먼저 캐싱을 위한 저장소 패턴을 구현하는 VideosRepository 클래스를 만들고(자세한 내용은 다음 페이지 참고) 새로운 VideosRepository 클래스를 사용하도록 ...

  9. リポジトリ パターン - Android Developers

    repository/VideosRepository.kt で、VideosRepository クラスを作成します。クラスのコンストラクタ パラメータとして VideosDatabase オブジェクトを渡し、DAO メソッドにアクセスします。

  10. Manage remote repositories | Android Studio - Android Developers

    Apr 16, 2025 · By default, new Android Studio projects specify Google's Maven repository, and the Maven central repository as repository locations in the project's settings.gradle file, as shown below: Kotlin dependencyResolutionManagement { repositoriesMode . set ( RepositoriesMode .

Refresh