Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

I want to understand how it works. I have application with three libraries: :main :module1 :module2 :di_api Library :main: build.gradle.kts: dependencies { implementationProjects( ":...
Stanislav Kireev's user avatar
0 votes
1 answer
70 views

i'm building a multi-module jetpack-compose login/signup app. My backend is handled using Spring boot and the login/signup function returns a ResponseEntity. The task: in my frontend i want to display ...
Fatima Jamal's user avatar
2 votes
2 answers
388 views

I have a multi-module compose project where I am still trying to define how the navigation should be done. As far as I know, the following key concepts need to be taken into account (correct me if I ...
alGhul7's user avatar
  • 163
0 votes
0 answers
27 views

Problem with storing Access token in SavedStateHandle is that we are coupling presentation layer with the data layer, as what management of access token is task of data layer. I haven't found much ...
OmniCoder77's user avatar
1 vote
1 answer
168 views

I am completely new to multi-modular architecture. I am using jetpack compose. Asking flaws in my thinking. Broadcast receiver and services don't contain ui logic, similar to activity. e can directly ...
OmniCoder77's user avatar
2 votes
1 answer
928 views

I'm working on converting an existing project to a multi-module structure and setting up the Gradle configuration. In the process, I've moved the plugins' IDs(excluding the application), the Android ...
Guri's user avatar
  • 31
0 votes
1 answer
123 views

I my project i have multiple modules, like ModuleA, ModuleB, ModuleC, ModuleD, ModuleE, ModuleF I have different Flavours in ModuleA like( sit, prod, prepord), same in moduleB have different flavors ...
Brahmam M's user avatar
1 vote
1 answer
357 views

I have 6 modules each module is kind of different app but i make 5 module as a library module and 6th module as the application module to launch activity and other all module work on one activity and ...
Rishabh Garg's user avatar
2 votes
1 answer
1k views

I'm using the "Now in Android" multi module application as my "learn by example" base however I've hit another snag from a requirement to my data classes to support Parceable. As ...
sheryf's user avatar
  • 31
1 vote
0 answers
56 views

I have an Android project with two modules, let's call them Module A and Module B. In Module A, I have two activities, A and B. In Module B, I have an activity named X. I'm trying to achieve a ...
sumit nagpal's user avatar
11 votes
2 answers
2k views

Some Android multi-module architecture examples show that domain layer depends on data. Others are vice versa. Android Developers site says: The domain layer is an optional layer that sits between ...
user3385013's user avatar
8 votes
1 answer
19k views

In the #NowInAndroid sample app a Kotlin file NiaBuildType from an included module is being imported in the app modules build.gradle.kts file. ###build.gradle.kts (:app) import com.google.samples....
Amir's user avatar
  • 1,656
2 votes
0 answers
722 views

Gradle - 8.2.1, AGP - 8.0.2, Kotlin - 1.9.0 buildSrc/build.gradle.kts plugins { `kotlin-dsl` } dependencies { implementation("com.android.tools.build:gradle-api:8.0.2") } gradle/...
AndroidRocks's user avatar
1 vote
0 answers
563 views

I'm working on a multi module compose project where I'm having difficulty navigating from one module to another the module dependancy is follows as bellow: common module (common ui component for ...
blackHawk's user avatar
  • 6,347
-2 votes
1 answer
783 views

I'm trying out a new architecture with multi-module and DI though Hilt, I have the following modules: app: Contains MainActivity (which does nothing except holding fragment) featureHome: Contains ...
Biscuit's user avatar
  • 5,305
4 votes
2 answers
917 views

I have a multi-module app which uses a plugin to handle common settings for modules. One of the things I configure are some lint options. So far this was my implementation: class MyPlugin : Plugin<...
suue's user avatar
  • 374
0 votes
1 answer
266 views

How to handle "Google Sign in" using android CLEAN architecture? As we know that we should avoid android code in presentation layer. i have tried to start an "Activity" where i ...
Md. Anisur Rahman Parvez's user avatar
0 votes
1 answer
454 views

This is not clearly explained in official documentation. Do I need to add the hilt plugin to each module of my app or only to the main module (:app)?
htafoya's user avatar
  • 19.4k
3 votes
1 answer
2k views

I'm trying to put the MacroBenchmark library in my project, but I'm getting an error to apply com.android.test the plugin. This error happens while syncing Gradle. I've added the plugin root gradle ...
Artur Schaefer's user avatar
1 vote
0 answers
887 views

We have an multi module Android project which has following modules: Common module Library module A Library module B The Common module needs some dependencies of Type A and Type B for its features. ...
RaBaKa 78's user avatar
  • 1,573
1 vote
0 answers
64 views

Whenever I'm creating a new module I find myself annoyed that it does not come with a generated res directory for colors, strings etc. It is quite annoying that I have to create it within every ...
JustSightseeing's user avatar
2 votes
1 answer
4k views

I'm working on a multi-module project. In a module called network I'm providing the instance of Retrofit through Hilt dependency injection and works fine, I can compile the app, and run unit and ...
Oscar Ivan's user avatar
1 vote
1 answer
2k views

Hi I'm using gradle catalog feature (libs.versions.toml) . this is OK , but when I want to use multiple module in my android project I have an error in build.gradle . My config : libs.version.toml [...
Hossein Zafari's user avatar
3 votes
1 answer
525 views

My app is implemented as a multi-module project (with dynamics module), where there is a shared module with espresso tests. These espresso tests give me different outcomes depending if I run them from ...
jgarciabt's user avatar
  • 559
1 vote
1 answer
2k views

Is there a way or approach to provide a Room DB instance from a module/library which can be consume on any project (app module)? The problem I am facing is the abstract class that extends RoomDatabase(...
Bitwise DEVS's user avatar
  • 3,851
0 votes
1 answer
226 views

Is there a way to use Firebase services in a library/module? I am planning of creating a module for Firebase only, I know that Firebase services need FirebaseApp instance to identify the app client ...
Bitwise DEVS's user avatar
  • 3,851
2 votes
0 answers
2k views

I have two modules in my android app, app and data. data module contains retrofit dependency and app module depends on data module. app/build.gradle: implementation project(':data') implementation &...
Arpit Shukla's user avatar
  • 10.6k
-5 votes
1 answer
668 views

I'm trying to setup a multi-module project with bottom navigation fragments and hilt. Is there any github project I can use to start my project faster?
Web Services's user avatar
1 vote
0 answers
76 views

Having Modular Architecture project. Reusable custom views are being moved to core-ui module. Features (fragments, sheets, etc) at the moment are still in app module. Before migrating custom views ...
Justin's user avatar
  • 61
4 votes
0 answers
464 views

I am trying to break my android app into smaller gradle modules (for now data and model modules). I want to keep my model module as a Kotlin library because it will only contains data classes. But ...
Arpit Shukla's user avatar
  • 10.6k
0 votes
1 answer
501 views

lets say there is an android project with module a, b and c all written in java. then I add another module, module d in the project. can I still use coroutine internally in module d? I know I cannot ...
daya pangestu's user avatar
4 votes
0 answers
742 views

I am working on applying the multi module structure with dagger to my project. I am getting error while working on ViewModelFactory. What I actually want to do for the ViewModelFactory is this: I want ...
Emre Memil's user avatar
1 vote
0 answers
388 views

I am building a multi-module app, and I have included the modules in the project-level settngs.gradle file, in this manner: include(":sub_module_1") project(":sub_module_1")....
iSofia's user avatar
  • 1,577
0 votes
0 answers
1k views

I am using a multi-modular architecture for my android app with module grouping i.e. I group my modules under a directory to make it more organised. The structure is similar to this- MyApplication ├───...
Rajkiran's user avatar
  • 16.3k