143 questions
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 ...
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 ...
-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 ...
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 ...
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. ...
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 ...
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
├── ...
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()...
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 ...
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 ...
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(":...
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 ...
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 ...
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 :...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 & ...
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 ...
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 ...
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 ...
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?
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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:...
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 ...
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\...
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 ...
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 ...
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 ...
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=...
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 ...
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