Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
72 views

Failed to get FirebaseApp Instance in Xcode Preview after Modularization

Upon moving a view and it's ViewModel(where i am using Firestore) from the main app module to it's own module, my Canvas Previews crash with the error: XCPreviewAgent crashed due to an uncaught ...
Geob's user avatar
  • 614
0 votes
1 answer
50 views

error : Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:

I am building a simple multi-module app, and haven't really even added much but I am encountering this error when trying to build the app. I have this base-like ViewModel implementation(which is an ...
Daniel Iroka's user avatar
-1 votes
1 answer
28 views

Modularization/Circular Dependency error in android

hello all i am in deadlock please help i have three module in my android project 1 : App 2 : unityLibrary 3 : bluttooth module now i want to open the acitivity of App from unityLirbraryModdule but ...
LastMomentCoder's user avatar
1 vote
1 answer
74 views

Java modularization for interface that its static method depends on implementations

I want to separate the api from the implementation, and making implementation module depends on api modules, however I encounter the problem that api actually depends on the implementation and don't ...
LGDGODV's user avatar
  • 283
1 vote
1 answer
817 views

How to run flutter pub get for all packages in a multi-module Flutter project?

I'm working on a large Flutter project where each feature is organized into its own package. In the main directory, I want to run flutter pub get to install dependencies for all the packages at once. ...
Abdullah Esnawi's user avatar
0 votes
1 answer
43 views

For using the files in other folder outside of dags, inside dags/ folder in apache airflow

I have the structure of folder as: folder_structure I want to use files which are present in deps folder in the dag files present in dags folder, how to do that? Can someone please help me with this I ...
Pavithra Naga Yallapu's user avatar
0 votes
1 answer
714 views

Migrate Gradle Groovy to Kotlin DSL Modularization

I am trying to migrate my gradle project from groovy to kotlin dsl. Hopefully theres some one can help me. So, my project used modularization and this is how my project structure looks like root ├── ...
itstimetofix's user avatar
0 votes
1 answer
101 views

How to show and hide a user input triggered by a reactive from another module?

I've been showing/hiding UI items using Shiny conditionalPanel() and shinyjs show, hide, and toggle functions. However, in this multi-module example I'm stuck. I'm trying to show/hide the selectInput()...
Village.Idyot's user avatar
0 votes
0 answers
51 views

How to use modularized functions inside other modularized functions in C

I'm doing a more complex project in c, but this example here is the same for what i need and the names of examples will just changed, but, again, is the same thing from what i am doing. Let's say I ...
Ramon Jales's user avatar
0 votes
0 answers
49 views

How to make html file visible in main app knowing that the html file is inside a module?

I have a swift iOS app modularized. I want to show a youtube video inside the main app with the implementation done inside a module. I get the error below inside the main app when I execute the app ...
Marcel's user avatar
  • 421
0 votes
1 answer
80 views

How to get appModule properties in feature modules

My project is having feature1Module and feature2Module. These 2 are included in app module build gradle file. implementation project(":feature1Module") implementation project(":...
G Anil Reddy's user avatar
0 votes
1 answer
209 views

Modularizing a Java Project in Eclipse

I have four Java packages in Eclipse: augustus, caligula, julius, and nero. I want to place augustus and caligula in a module. I want to place julius and nero in another module. How do I go about ...
James Walton's user avatar
0 votes
1 answer
116 views

Is having a shared "entity" module a good idea?

Using Gradle, for Android native development, when you modify code within a module and hit build, said module and all modules that depend on said module rebuilds. This usually is helpful, but I find ...
Lheonair's user avatar
  • 528
0 votes
0 answers
609 views

Modules communication in multi module android app

I try to realise multi module android app. I read modularization documentation section which is started here. There is Figure3 in feature modules section. This figure demonstrates connections between :...
domartynov's user avatar
2 votes
1 answer
280 views

Using Module in Snakemake. Define a rule after a use rule * from workflow throw an error

I'm using the version 7.23.1 of Snakemake. I'm using the modularization in snakemake and I'm getting a strange behavior. I would like to ask for your help in order to understand a bit more in-depth ...
Mathieu Cayssol's user avatar
0 votes
1 answer
882 views

How to refactor an android library module to kotlin module in Android Studio?

I have removed the android library dependencies to some of the modules in my app and would like to convert these modules to pure 'java or kotlin' modules. What is the best way to do this in Android ...
mars8's user avatar
  • 1,346
5 votes
0 answers
456 views

Modularized App and Global State (Android Compose)

I am following the Now In Android sample for modularization and best practices with Jetpack Compose and I am a bit stuck with sharing a simple LocalDate state across several modules/features. I want ...
goldensoju's user avatar
0 votes
0 answers
152 views

How do I make my project modular with CMake?

First of all, I don't know what I should call it, module, component, or library are all fitting for me, but gave all mixed results trying to figure this out. Problem I am working on a project in C, ...
ThunderSphun's user avatar
0 votes
1 answer
414 views

Using Swift Package Manager with version control

I am trying to break down my existing code into separate repos and integrate each repo through Swift Package Manager in the base codebase. I have used SPM to achieve the same for the repos hosted on ...
Devarshi's user avatar
  • 16.8k
2 votes
0 answers
174 views

Achieve modularization in android, I want SDK to work with optional dependencies. Whether dependency is provided or not code should compile in both

I am creating SDK and want to modularize it. And prevent internal APIs from being exposed on your public interface. Want optional dependency based on features required. If features is not required we ...
Jaykishan Sewak's user avatar
1 vote
1 answer
703 views

Android Feature Module VS Dynamic Feature Module

While researching about android modularization I've come across the term Dynamic Feature Module, however I've also noticed Feature Module. What are the differences? I've seen a lot of articles about ...
JV17's user avatar
  • 33
0 votes
1 answer
203 views

Build.Gradle Templating

Does anyone know of a way to template build.gradle files as modules are created? Right now the issue I have is that I want to be able to have the module's build.gradle contain only a small amount of ...
Jayme Rutkoski's user avatar
2 votes
0 answers
370 views

Snakemake: Solving dependencies between modules

I'm using Snakemake and tried to order my overall pipeline structure by utilizing modules as the modularization approach suggests. However, one of my modules has a rule which depends on the ouput of ...
Oliver Küchler's user avatar
0 votes
1 answer
477 views

Flutter Bloc test error with late initialize variable?

After i'm running test with bloc test, i got issue late error, if i change late with nullsafety their also will be return error, so what alternative to solve? when i try without bloc it's run as well ...
dendi's user avatar
  • 27
1 vote
1 answer
823 views

Can I create mini app with Swift package manager?

After I code iOS application for awhile, I faced problem with project's size and build time. I found some concept about super app / mini app. According a question, I implement my application and I ...
Nawin Phunsawat's user avatar
2 votes
1 answer
5k views

How to create package from existing project with Swift Package Manager?

Is it possible to create package from existing project ( UIKit application ) in Xcode13 ? I have implemented application but it too big and take too much time on building phase. Because of that, I ...
Tar journey's user avatar
2 votes
1 answer
1k views

Translation of LocalDateTime with DateTimeFormatter in modularized program (JDK17)

I try to translate a LocalDateTime to the current used language like shown in this answer: https://stackoverflow.com/a/51843932 Running the program in Eclipse works as intended, but when it gets ...
A. Alexander's user avatar
0 votes
1 answer
751 views

Better way of defining types for 'navigation' object, when using Stack Navigator in React Native

I'm having some trouble with modularization for the prop types, when using react-navigation. My problem is: The React Navigation doc Typescript section suggests creating the types for each screen ...
joaocout's user avatar
  • 558
43 votes
12 answers
52k views

Angular ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy')

I have problem. Angular is sometimes showing error ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy') I am getting this error when I am running ng serve, but if I use angular ...
J4mJeMax's user avatar
  • 559
2 votes
0 answers
799 views

Publishing the XCFramework

I want to modularise my codebase to distribute it like third party libraries. I followed the article for the same. So far I have been able to split the code into three modules (Networking, Core & ...
Vinod Kumar Singh's user avatar
0 votes
0 answers
62 views

How to read variables with same names from different lists

I'm new to the world of coding and this is my first post on stackoverflow. So please bear with me. So here's the problem. I've got a list of variables for some text values in one language (denoted as ...
tibhasha's user avatar
1 vote
0 answers
73 views

Android Two-way binding and @InverseBindingAdapter doesn't work in Modular Architecture project

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
2 votes
0 answers
477 views

iOS Framework Module Not Loading in App on Physical Target

My app has been growing quite a bit over the years, and I decided to give it a try to further modularize it by breaking it up into several frameworks and static libraries. After 4 days of work (and ...
user avatar
0 votes
1 answer
2k views

How to run any 1 module without having to run main.dart?

How to run any one module in Flutter without having to run main.dart?
Saumya Prasad's user avatar
2 votes
2 answers
1k views

Android compose - modular app design - how to manage theming?

I'm working on modularizing a test application with Android Compose and have the application stuff woking well, however it seems that if you want to add custom theming like colors and fonts you run ...
Johann Muller's user avatar
0 votes
1 answer
610 views

Is there any way to access methods of one aar file from another aar file in project libs folder?

I generated two aar files from two libraries generated by me and added them to my main project by putting them in the libs folder. Now I can able to access classes of the aar from the main project. ...
Arjun Babu C's user avatar
3 votes
0 answers
70 views

Why the namesace is different in the modular programming while there is an __init__.py file in python?

I have a few questions about namespaces and init.py in modular programming in python. I will divide my questions into two sections: without init and with init. Section 1) Without init.py Suppose that ...
8Simon8's user avatar
  • 169
2 votes
0 answers
693 views

Android alternative for Swift Package Manager?

I am working on creating a modularised app. I had been using git submodules, but AFAIK, Swift Package Manager (SPM) in iOS works as a wrapper around git submodule. Can you please suggest Android ...
Sparsh Dutta's user avatar
  • 3,078
8 votes
2 answers
6k views

Reach the version code and name from a library module

I'm currently working on modularizing my application, so I'm putting each feature in a library module. In one of my features, I access the version code and name. However, although I defined them in ...
Walid Baroudi's user avatar
2 votes
1 answer
2k views

Java 16 Modularisation IllegalAccessException Java.NIO Spring Boot

I'm new to Java and have been coding in JDK 11, but now using JDK 16. When I try to open a database connection method from the Spring Boot main class, by calling the database connection class, even ...
Imran's user avatar
  • 85
0 votes
1 answer
618 views

Fragment to fragment communication with viewmodel without host activity

There is a straight forward implementation for fragment to fragment communucation using viewmodel and a host activity (ViewModel by activityViewModels()). However I have a case where there is no ...
Urchboy's user avatar
  • 865
-2 votes
1 answer
597 views

Hello, On a node.js project, and I cannot move files to a src folder because I got an error when running the node file. Now the files are in the root [closed]

Error: Cannot find module '/Users/alejandraola/Documents/GitHub/SCL16-md-link/prueba.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15) at Function.Module._load (node:...
Alejandra Olea's user avatar
3 votes
1 answer
519 views

End to end test for android app with dynamic feature module . How to?

Android project structure : -app module -featureA dynamic module -> depending on app module -featureB dynamic module -> depending on app module Use Case : I want to write end to end ...
ArpitA's user avatar
  • 741
2 votes
2 answers
348 views

How to link main with made libraries?

I'm trying to link libraries I made to main source code, but it throws this error. I've been searching for last two hours how to fix this but nothing worked for me. Compiling: cd "c:\Users\miros\...
qu4lizz's user avatar
  • 369
1 vote
1 answer
82 views

Modularization and SelectInput make the actionButton repeat

I am working on an app that is modularized and contains a selectInput dropdown in Shiny. The dropdown provides a different dataset on selecting it. However, if I add a new row using the button or edit ...
Sahib's user avatar
  • 160
0 votes
1 answer
138 views

actionButton in server side modularized code does not work

I am using a modalDialog pop up to allow an issue to be recorded in the github api. However, as the actionButton("ok", "Submit new issue") is in the modularized server side code, I ...
Sahib's user avatar
  • 160
0 votes
1 answer
761 views

Hilt dependency implementation in multi-module development

I have created a module named dependencies where I have put all depConstraints I need so I don't have to implement the dependency in each module individually. I have added Hilt dependencies in my ...
Hossein Mirzazadeh's user avatar
0 votes
2 answers
203 views

How to modularize a code containing 'with' in Python

I have this code that I am using to get information from a mysql database def query_result_connect(_query): with SSHTunnelForwarder((ssh_host, ssh_port), ssh_password=...
Arman Mojaver's user avatar
0 votes
3 answers
242 views

Modularization of Python code with function specific parameters

My code contains multiple lines of a nested for loop . I wanted to try and reduce the amount of nested for loops being called by putting the code into its own function similar to the do_for_each ...
conorc's user avatar
  • 55
0 votes
1 answer
76 views

Complete action using question is repeatedly asking in builf flavor apps created using modularisation in android

*Two build flavors, which are possible to install at a time in same phone. but showing this alert (Complete action using ("App name")) always on each module wise selection on the app
Ali Anshad's user avatar