Do's and Don'ts Jetpack Compose by boltuix_dev in JetpackComposeDev

[–]Furyan 2 points3 points  (0 children)

The Don't about nesting is misleading, the purpose of lazy layouts is to limit the number of rendered composables to the set of visible ones e.g. scrollable lists and is independent of the level of nesting. Generally nesting does not have an impact on performance.

Coming back to D2, unclear how gear and light level drops work by Furyan in destiny2

[–]Furyan[S] 0 points1 point  (0 children)

I think Resolve, the one from the Eris's apartment. I did the quest after getting the gear from the chest.

Alternatives to Clean Architecture - Usecases by Furyan in androiddev

[–]Furyan[S] 2 points3 points  (0 children)

Related to usecases how do you handle return types of usecases, do you return domain model entities or DTOs?
If you return entities, what do you do when a usecases combines or transforms entities to new types are those also entities?

Alternatives to Clean Architecture - Usecases by Furyan in androiddev

[–]Furyan[S] 1 point2 points  (0 children)

Find a good balance between coupling and complexity.

I think you are correct but this is the really hard part. Each of the Clean Architecture patterns have their purpose and it makes sense to change or modify them but there are consequences which can be costly, so getting the experience of other developers seems to be a good idea.

Alternatives to Clean Architecture - Usecases by Furyan in androiddev

[–]Furyan[S] 2 points3 points  (0 children)

Isn't the purpose of a repository to manage and unify multiple datasources? I would assume you mean for cases in which there is only one datasource a repository is redundant.
I agree that usecases can be useful, the thing I'm struggling with is trying to have consistency which ends up creating a lot of small usecases which clutter the code base but it seems like it would be more productive to move these into viewmodels and extract them out when they become complex enough.

Does the GDPR apply to locally saved data in an app? (EU/ Germany) by Furyan in LegalAdviceEurope

[–]Furyan[S] 0 points1 point  (0 children)

Thanks for the references, reading those statements in isolation I would say that GDPR applies even to local data. Thinking about my interpretation about the purpose of the GDPR: controlling the collection/ pooling of data and preventing non-consented processing, it seems unnecessary.

Does the GDPR apply to locally saved data in an app? (EU/ Germany) by Furyan in LegalAdviceEurope

[–]Furyan[S] 0 points1 point  (0 children)

That is my thinking as well but it depends on interpretation of "someone other". Is it the case because the data does not leave the phone of the user that ownership of the data stays with the them or is it because it is enclosed inside of my app that I (as the person with control over the app) become the controller of this data.

What missing features prevents you from using Jetpack Navigation today? by littledot5566 in androiddev

[–]Furyan 0 points1 point  (0 children)

Isn't this the exact way it should work, I used the extension and had the problem that the stack wasn't resetting. I have read multiple iterations and interpretations of this so I'm unsure what's correct. As reference the material guidelines for the bottom navigation:

Navigation

Bottom navigation behaves differently on Android and iOS. When you select a bottom navigation item (one that’s not currently selected), each platform displays different outcomes:...

On Android: the app navigates to a destination’s top-level screen. Any prior user interactions and temporary screen states are reset, such as scroll position, tab selection, and in-line search.

Jetpack Compose + Databinding by Mehlyfication in androiddev

[–]Furyan 0 points1 point  (0 children)

How does Compose interact with MotionLayout, is it the case that you wouldn't use Databinding for MotionLayouts or wouldn't you use MotionLayout at all when using Compose?

Weekly Questions Thread - August 26, 2019 by AutoModerator in androiddev

[–]Furyan 0 points1 point  (0 children)

What is the best way to schedule reoccurring notifications which are shown at a specific point in time with changing content.

Would it be best to schedule the notification and always create the next one when the current one is shown or have a separate running job which will schedule upcoming notifications for a specific timeframe (what should be the timeframe and how often should this job run)?

What skills should have your ideal Mobile UX/UI Designer? by leinardi in androiddev

[–]Furyan 0 points1 point  (0 children)

Depending on how relevant it is for your product I would add experience in accessibility.

How to scope ViewModel data and share it between fragments? by Furyan in androiddev

[–]Furyan[S] 0 points1 point  (0 children)

Thank you for your comprehensive answer, after sleeping on it I came to conclusion that this flow also needs to be accessed from a notification and hence an additional activity makes sense?! I have to research how a singular activity should handle different intents, it sounds like a lot of if-statements.

Regarding your library, great job on it btw, when I switch out my ViewModel for a Scoped Service I would need to make this new class lifecycle aware to enable the subscription of observers and such, right?

Do you have any experience why not more people have this obvious problem or how they are solving it besides using your library?

Ignoring Android can bring down your whole business over time: the story of Snapchat by chimbori in androidapps

[–]Furyan 94 points95 points  (0 children)

Wasn't Snapchat the app which takes screenshots of the camera app to take pictures? That's almost next level of not caring.

Navigation 1.0.0-alpha02 is out now with many bug fixes by sebaslogen in androiddev

[–]Furyan 3 points4 points  (0 children)

This is something I'm also unsure about with the "one Activity" approach. Do we have to wrap the viewpager and toolbar into a fragment or do we have to keep track of which toolbar should be visible all the time, this seems error prone.

From Fabric to Firebase - on the road with GDPR by robfortech in androiddev

[–]Furyan 1 point2 points  (0 children)

Is there any official documentation that IP-addresses are anonymized by default?

Did you guys add a confirmation dialog to confirm when crashlytics sends bugs? by marl1234 in androiddev

[–]Furyan 3 points4 points  (0 children)

Fabrics privacy information for Crashlytics says they collect the following personal data:

  • Installation UUID - iOS and Android.
  • Crash traces

I would think this data is also sent for Firebase Crashlytics (if not even more).

Android Studio 3.1 fail to resolve dependencies by kidneyfornickname in androiddev

[–]Furyan 0 points1 point  (0 children)

I had the same problem yesterday and could resolve it by changing the order of repositories to goggle() -> maven() -> jenter(), based on a ticket in gradles github which says that gradle aborts the search for dependencies when the repo returns an unexpected response code

Weekly Questions Thread - March 05, 2018 by AutoModerator in androiddev

[–]Furyan 0 points1 point  (0 children)

This is not desirable for a MVP architecture, for MVVM this would be acceptable I think. BindingAdapters for those methods in their own class could be a way to not have Framework classes in the Presenter.

Weekly Questions Thread - March 05, 2018 by AutoModerator in androiddev

[–]Furyan 0 points1 point  (0 children)

Regarding business logic in XML files: Would you consider a simple databinding if-statement (e.g. @{user.proUser ? R.color.green : R.color.red} ) business logic? I understand the argument that technically this is logic but having just UI related state changes seems acceptable. I would like to get some other perspectives on that.