Weekly Anything Goes Thread - July 16, 2021 Android Dev |
- Weekly Anything Goes Thread - July 16, 2021
- Maven 101: Wrapping your head around Apache's Amazing Build Tool
- I am getting a very high proportion of refunds. It wasn't like that before, not even close. I have 10 times more download a day but 5 times less revenue. Any idea what's causing this? The game didn't get worse by any mean.
- Implementing Clean Architecture for a medium-sized project
- Material You APIs?
- Third party library
- Anyone have experience creating paid Amazon app?
- How to avoid violating the Interface Segregation Principle in Android app?
- Help me find a course as a beginner in android dev with previous programming exp!
- Tools of the build trade: The making of a tiny Kotlin app
- We made a free & open-source app for 2D motion graphics and vector animations. It's still an early version, but you can try it.
- Does Jetpack Compose use legacy Views under the hood?
- How does an app like Forest knows which app is being opened on top of it?
- Set up for Android 12
- How does the backend of online apps work?
- sending data from device to device over the internet?
- TIL using a preview compileSdkVersion for an app will not you install it from the Play Store
- Is there anyway We can make Android Studio or Dependabot ( or anything like that ) check for updated versions of dependencies while using buildSrc
- Wanted but not invoked: navController.navigate(<Capturing argument>); Actually, there were zero interactions with this mock
Weekly Anything Goes Thread - July 16, 2021 Posted: 16 Jul 2021 06:00 AM PDT Here's your chance to talk about whatever! Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread. Remember that while you can talk about any topic, being a jerk is still not allowed. [link] [comments] | ||
Maven 101: Wrapping your head around Apache's Amazing Build Tool Posted: 16 Jul 2021 07:24 AM PDT
| ||
Posted: 16 Jul 2021 08:34 AM PDT
| ||
Implementing Clean Architecture for a medium-sized project Posted: 16 Jul 2021 04:03 AM PDT I've been reading up on Clean Architecture with Koin for D.I. on Android and I've come across a few questions regarding its correct implementation. So far, I've created the three main modules of the architecture:
Our app will make some calls to various API Endpoints through a couple of APIService interfaces using Retrofit. The responses from those calls are automatically converted into specific model classes using a default GsonConverter. The calls will be executed via the ViewModels from the presentation/app layer, which will make the appropriate calls to the domain layer, which should then in turn make the retrofit requests. Here's where my first question occurs: In a previous project, my team had placed those response models inside the data module and then mapped them to exact copies of those models in the domain module from within the data layer. This meant that they were referencing the domain layer from within the data layer where according to clean architecture principles, it should be the other way around, correct? This seems like a waste of time and code as well, since the models don't change between the two layers. Where could they be placed in order to be shared between the two layers? My second question is regarding the use of repositories and use-cases. Our team was previously using both of these in the following manner. We would define the repository interface in the domain layer and then the data layer would hold their implementations. The domain layer would also hold a use-case class that simply made the calls to the appropriate repository functions and was what was exposed to the presentation/app layer. What's exactly the point of using use-cases in our case? Couldn't we simply expose the repository interfaces themselves to the presentation layer and skip the use-case layer since nothing extra is happening there? Third question refers to the type of the previously mentioned modules. As far as I'm concerned, the data module has to be an android module in order to make the retrofit network calls, correct? The domain module should be defined as a kotlin/java module though, right? Are there specific drawbacks for the different types of modules in an android project? Now let's move onto the dependency injection question. Is there a way that each module can have its own Koin module file that can then be imported into the presentation/app's module? The way we are doing it right now, is by having the presentation layer reference both the domain and the data layer (thus breaking boundaries, right?) and then doing all the D.I.-related stuff in a single module file inside the layer. Isn't there a better way to go about it? Something like the domain layer referencing the data layer's module file inside its own file, and then the presentation layer referencing the domain's module file? Last question: Is it truly possible for an Android app to use the Clean architecture properly? Meaning, can our modules only hold inward references while also using D.I. whilst achieving the functionality we need, or does each app have to compromise on a few things? From what I've been told on StackOverflow, the answers to these questions are too subjective to give so my question should be closed. However, I'd like to hear your subjective answers so that I can make an educated decision on how to go about best implementing the architecture. P.S. This is my first time taking the lead on a project so I'm trying to do all the research I can before committing 100% to a specific way of implementing clean architecture. [link] [comments] | ||
Posted: 16 Jul 2021 12:48 AM PDT I'm starting to see some apps which already embrace the Material You theming. For example Sleep as Android's latest beta build uses the system colors. How can I access these colors and other system-wide Material You related attributes? Is there an API already available? I suppose there is, since some apps already leverage it, but I've read through most of the recent documentation, release notes and blog posts on material.io and Android Developers websites and I haven't seen a single mention of the API. Nothing is mentioned in the Material Components release notes either. If the API is out, where can I find documentation for it? If it's not out, how come some apps already use it, is there some ETA, and why there isn't some sort of properly documented pre release (e. g. Compose has some really decent documentation since the alpha days)? [link] [comments] | ||
Posted: 16 Jul 2021 03:48 PM PDT Can I use third party library from GitHub that no longer is maintained because I don't want to reinvent the wheel by writing whole code and I am also a beginner (old library I mean since 1 or 2 year library has not been updated) [link] [comments] | ||
Anyone have experience creating paid Amazon app? Posted: 16 Jul 2021 11:02 AM PDT I have a Play Store app that I want to upload to the Amazon app store. How do you check if a user is licensed? Is there an equivalent to the LVL library for Amazon apps? [link] [comments] | ||
How to avoid violating the Interface Segregation Principle in Android app? Posted: 16 Jul 2021 11:36 AM PDT Given the interface commonly seen in some Android code, it violates Interface Segregation Principle. What is the fix or other alternative solution or techniques for the above? [link] [comments] | ||
Help me find a course as a beginner in android dev with previous programming exp! Posted: 16 Jul 2021 11:35 AM PDT Hello, I have been looking for an android development course using java all day and I cant seem to find a good one. I have previous web dev exp, cpp, c. From what I read I need one that is up to date, teaching in java(my requirement) android 11, and that makes things clear you know. Theres this yt video fromfreecodecamp but I dont know if it's up to date and enough, 20 hours seems a bit short https://youtu.be/fis26HvvDII The popular courses on udemy are about android 7 and I saw people saying that's not a good choice. Same thing about Googles nanondegree. Theres this udemy course that ticked the boxes but I cant find some honest reviews https://www.udemy.com/course/full-android-course-with-14-real-apps-42-hours/ Any help? [link] [comments] | ||
Tools of the build trade: The making of a tiny Kotlin app Posted: 15 Jul 2021 11:12 PM PDT
| ||
Posted: 16 Jul 2021 02:55 AM PDT I'm sorry for the shameless plug, but some might be interested in such an app. This is our second week, meaning that's our second update, the app got to v0.2.0 alpha, but, it's still not yet production-ready, so bear with us a few more weeks until it will get more features. Expressive Animator is a free & open-source cross-platform app for 2D motion graphics and vector animations, which will soon allow you to edit and create Lottie animations, SVG animations, and export animated GIFs and videos as well. The app works in Chromium-based, PWA-friendly browsers like Chrome and Edge, technically it works in any of them, but Firefox and Safari don't support many of the advanced features yet. You can also install the app as a PWA and continue using your favorite browser. By installing it as a PWA you will be able to use the app offline as well. The app is currently in v0.2.0 alpha, too early to consider it useful, yet. Our priority is supporting Lottie, meaning that you will be able to edit and create Lottie animations in the upcoming weeks. Later we will support animated SVG, GIFs, and videos. Here you can try it out: https://www.expressivesuite.com/products/expressive-animator.html If you're a developer, here is our GitHub repo: https://github.com/ExpressiveSuite P.S. Expressive Animator is just our first app, somewhere in Q4 of 2021, we will release our second app called Expressive Canvas, a vector graphics app similar to Illustrator. Free and open-source! [link] [comments] | ||
Does Jetpack Compose use legacy Views under the hood? Posted: 16 Jul 2021 02:14 AM PDT | ||
How does an app like Forest knows which app is being opened on top of it? Posted: 16 Jul 2021 03:56 AM PDT https://play.google.com/store/apps/details?id=cc.forestapp is a pomodoro-like productivity app. When you start your sessions with the app, it locks the screen so you can't open other apps. The full version has a neat feature that will white list some apps that can be opened while the session is running. How does this work? How can an app know what other app is being opened on top of it? [link] [comments] | ||
Posted: 16 Jul 2021 06:39 AM PDT
| ||
How does the backend of online apps work? Posted: 16 Jul 2021 05:46 AM PDT I getting into android app development, and, for example, when you create an account on chess.com app or youtube app or any app with online features, will your information be sent to their website server-database? [link] [comments] | ||
sending data from device to device over the internet? Posted: 16 Jul 2021 04:49 AM PDT hello folks, i am starting to work on an Android app in which i need to share couple of links from device to device on demand, these links are cdn links and only work for around 2 days~ i thought instead of storing these on a remote database and then getting rid of them every time their life span completes (which would be complete chaos, i would need to remove the records at exact time or before, if i don't, others can fetch these broken links once expired and that would add one more thing i'll have to deal with), i thought it would be really great if i could directly provide these to the client, is there any way i could possibly implement this? the first thing that comes to mind is peer to peer,torrents seed and leach from devices don't they? although i'm not sure how to implement that, i thought i'd ask some people if there was a better way before. i'm sorry if my question is stupid, i'm only an student. i'd also like to apologise for bad English or grammatical errors :p [link] [comments] | ||
TIL using a preview compileSdkVersion for an app will not you install it from the Play Store Posted: 16 Jul 2021 06:25 AM PDT | ||
Posted: 16 Jul 2021 02:23 AM PDT Hi , I am writing an app in which I would like to automate the dependancy update. But I am using buildSrc to manage my dependencies , As of now , I tried many ways but iam unable to get Android Studio Project Structure dialog or Dependabot to suggest the dependancy updates. [link] [comments] | ||
Posted: 16 Jul 2021 02:06 AM PDT I'm facing this error while navigating to other fragment. I want to test if particular fragment is navigating to correct fragment or not. How Can it be possible can anyone help me. Thanks This method is giving me this error again and again [link] [comments] |
You are subscribed to email updates from Developing Android Apps. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment