Issue Imagine, that we have Android application, which is splitted by groups: Presentation – which concerns fragments, viewmodels and view-specific logic Domain – concerns use cases and interfaces, code is library and framework – independent Data – storing and retrieving
Continue readingTag: architecture
What are features in programming?
Issue want to create an app. There’s constant talk about identifying features, but I don’t understand what features are supposed to be. For instance, if I’m creating a math app and need to decide between addition, subtraction, division, and multiplication,
Continue readingFlutter: Async Methods in Bloc/Cubit State Management
Issue While working with Cubit State Management, I have the question if the methods in the Cubit class, which access the Repository class, have to be async? The methods in the Repository class, which access the remote DB, are of
Continue readingArchitecture/logic issue- how do I rebuild only ONE Consumer widget in this scenario? – Riverpod
Issue I really backed myself into a corner & have no idea how to re-design to fix this smoothly while keeping my functionality. I tried moving the reusable widget up in the tree but that was confusing and didn’t work.
Continue readingGranularity of BloC usage in flutter with nested data
Issue What is best practice of bloc usage with nested data, when I have a list view, a detail view of the selected record and maybe a detail view of a subrecord? Let’s say I have an app, showing some
Continue readingFlutter Clean Architecture – Conflict with domain entity and data model
Issue I am a beginner in flutter and have been learning flutter for 6 months or so. I am currently working on expense manager app. I found the clean architecture pattern really interesting although it requires a lot more(!) coding
Continue readingHow to create a "constant reference" getter in Dart?
Issue Say I have a class ListContainer that contains and manages a list that must be accessible from outside. Since managing this list is complicated, I don’t want to let anyone other than ListContainer modify it. In C++, I would
Continue readingTrying to fit a "clean architecture" on an iOS app
Issue Recently I’ve been rethinking my android architecture project, trying to adapt it to a more “clean architecture”, specifically, the kind of design suggested by “Uncle Bob”. Which it involves several layers of abstractions, a nice isolation of responsibilities and
Continue readingFlutter independent model classes
Issue I’m new to the flutter development. I’m developing a simple weather application then I face the below question. I have created a weather model class with its parameters and I’m going to get data from the API. But I’m
Continue readingWindow Manager in Android Architecture
Issue I’m new to Android and am learning about Android architecture. I don’t understand what WindowManager is supposed to do. What does window manager do in Android? Solution As Dianne Hackborn wrote on the android-framework mailing list: The window manager
Continue reading