- For any Unity android devs, if your app has a lot of static screens that only change when the user interacts with them, you can massively decrease your GPU/CPU/Battery usage by dropping the frame rate to 1FPS while keeping the rest of the engine running at 60FPS using the new OnDemandRendering API.
- Found an app which process cannot be killed
- 24 — 30 January Android Newsletter
- Freelance platforms?
- DiffUtil Compose Ui
- What Mobile App Development Tools / Software can preview the app on a real device??
- USB DAC Problems with connection
- Firebase dependencies -ktx
- NetworkBoundResource and DB updates while loading
- Comments and discussion about UI, integration tests, and mocks
- Is there a way to be notified when my release has been approved?
- Android 10 emoji ttf
- Getting TextView to update
- Is there a no-coding free software that allows you to make a simple app?
- Modelling UI State on Android
- Migrating Your Design System to Jetpack Compose Part 3: Interop & Testing
- The Crazy Android Fragment Bug I’ve Investigated
- Android Currency Converter with RxJava2, Dagger2, Retrofit and Kotlin Channel
- kmm +DART Flutter view
- Kotlin Coroutines Fundamentals
- Play Console Publish Timeline Question (With Ads SDK)
- First Time Dev: Error with Gradle Sync
Posted: 31 Jan 2021 06:33 AM PST
| ||
Found an app which process cannot be killed Posted: 31 Jan 2021 04:01 AM PST
| ||
24 — 30 January Android Newsletter Posted: 31 Jan 2021 02:33 AM PST Stay up to date with Android development, in this week's edition: Read it here 👉 https://vladsonkin.com/android-newsletter-31/ 💥Featuring @HeyTaskito @_jitinsharma @ZacSweers @deniskrrr @karandhillon95 and many more devs! 💚 Subscribe and receive new editions directly to your email. Weekly, no spam, unsub anytime. [link] [comments] | ||
Posted: 30 Jan 2021 06:00 PM PST I'm currently a full-time developer but have been considering moving into becoming a freelance or contract worker so I can have more freedom with my time (Work for X months, take X months off) Lately, I've been seeing job openings at Toptal and know they work with freelancers. I'm also aware of other companies that do similar things but am pretty limited in my knowledge. Anyway, my question is would you recommend going through one of these freelance companies to have that super flexible schedule and if so, which one(s) are worth applying to? Thanks! [link] [comments] | ||
Posted: 31 Jan 2021 01:44 AM PST With a recyclerview, we can use a list adapter to which we can submit lists observed with for example live data as we observe changes from let's say Room. DiffUtil can be intergrated into the list adapter to reflect changes like deletions, swaps, additions etc. Is there something similar that we can use with LazyColumn in Compose Ui? I find it not appeasing having to resubmit a full list to LazyColumn whenever a new log is added to Room (in my case) [link] [comments] | ||
What Mobile App Development Tools / Software can preview the app on a real device?? Posted: 31 Jan 2021 06:51 AM PST What Mobile App Development Tools / Software can preview the app on a real device??(not emulator) like Phonegap build my method, build apk and install it to preview....... anyidea?? thank you very much [link] [comments] | ||
USB DAC Problems with connection Posted: 31 Jan 2021 04:50 AM PST Hi, well, my friend asked me for a favour. He has a samsung phone and he has a digital to analog converter. (I think he has a Samsung Note 20 pro and iBasso TYPE C converter) And everytime he connects this converter to his device in order to use, he must restart his device everytime he wants to use it problemlessly. Is there among you anyone who knows how to eventually program something which would actually bypass this so the user would actually just use some sort of app which would solve this issue? This is low level stuff which is really unfamiliar to me. Some links to study - Some solutions are mentioned here, but they are really only temporary. Any help, direction would be appreciated. Regards Juniorish android dev [link] [comments] | ||
Posted: 31 Jan 2021 04:22 AM PST So when I use firebase, should I use only -ktx or should I use both ktx and regular ones? [link] [comments] | ||
NetworkBoundResource and DB updates while loading Posted: 31 Jan 2021 04:16 AM PST A variation of the NetworkBoundResource class/method is frequently used to load data from a remote source to a local cache (like a Room database). I'm trying to use one of these NBRs (see below) but there is one big problem: While the state is Is there any way to fix this? Did anyone else run into the same problem? This is the NetworkBoundResource I'm using (source: Stackoverflow). As you can see, Loading only contains a snapshot of the current data ( [link] [comments] | ||
Comments and discussion about UI, integration tests, and mocks Posted: 30 Jan 2021 11:47 AM PST I have some experience with Unit testing but I have never gone beyond that, and in the next project we will start doing UI and integration tests. I have thoughts based on what I've read, but I'd like to see what you think, what am I missing, and get real-experience feedback. Some specific questions (sorry, it is a bit long, relevant topics in bold as TL;DR): 1) For UI tests, to reduce flakiness and slowness, I understand it's better if we mock the server. But where/how? By running an on-device server (e.g. with Ktor), by providing mock json responses (retrofit interceptor), by providing mock data sources, by providing mock UseCases…? What I see is, the more code that is mocked the less "real-like conditions" the test will be; but the easier and faster it will be to build, run and maintain. And we can already test all of that with unit and integration tests… Am I missing some points? What have you tried and how did it work out? 2) How worthwhile is it testing the server requests (data source), considering it is mostly done by retrofit and the serializer, and it requires setting up a lot of big json files? It seems that it will rarely break due to a programmer error, as that code should only change if the actual server response changes, and in that case the test needs to be changed anyway. The only benefit I can see is if we change the serialization library (or upgrade to a breaking version) in the future, which might be enough to be worthwhile, but I am not sure because it is a lot of effort for a not that frequent change. Probably if we have some end-to-end tests from question 1 it makes this less necessary too. Again, am I missing something? What's your experience? And what tools are good and bad for testing REST API requests? 3) What do you consider more important to test in UI testing, sorted by usefulness in finding bugs vs effort and flakiness? I suspect this: correct user interaction and navigation > specific bugs that have been detected and fixed > UI correctly doing what the VM expects >> ui correctly shows the info >> animation. Not sure if there are more things that could be tested or the sorting is not correct. Prior to having tried it, for example, it seems very costly to test that the UI looks as it should (text is not cut or has ellipsize, views do not overlap…). 4) I was thinking about covering all the visual part of UI testing with screenshot testing and leaving UI tests for interaction/navigation. Those tests in theory look good, but I've read the worst opinions about them. They seem especially useful when we update UI libraries -e.g. material design- and margins or colors work differently. I see that I lose the benefit of reading the tests and knowing the UI behaves as expected, but if all logic is at the ViewModel or in separate and testable UI helper classes it should not be necessary. It seems that it can very significantly reduce the effort of building and maintaining tests, and detect issues that do not seem feasible with standard UI tests. 5) As sort of a follow-up of 1, is it a good idea having some fully end-to-end tests that include actual server requests, to be able to release blindly? I think I'd always want human supervision before doing a release, so there would be no reason for that, I think. Note that currently, I do not expect to be doing more than 1 release per month or so. If we were releasing once per week or more I'd probably change my opinion on this. [link] [comments] | ||
Is there a way to be notified when my release has been approved? Posted: 30 Jan 2021 03:31 PM PST I did not find a way to be notified when a release in the Google Play Console is approved by Google team (and then I manually publish it the store). There is no emails or webhooks available. It's annoying to visit the console every hour to know if the review process of my update is done. I already searched a solution with CI/CD like Bitrise or even tried to scrap the Google Play Console but no success. [link] [comments] | ||
Posted: 30 Jan 2021 10:28 PM PST Hi, I've been looking for .ttf for a while with the android 10 unicode 12 emoji, but I can't find anywhere, and the NotoColorEmoji files transform the numbers into emojis using zFont. Thanks [link] [comments] | ||
Posted: 30 Jan 2021 07:29 PM PST I'm trying to run the following code in an activity: But the imageStatusReport TextView never updates. The Toast does pop up, so this is not the normal case of something hogging the UI thread and not letting things update… [link] [comments] | ||
Is there a no-coding free software that allows you to make a simple app? Posted: 30 Jan 2021 03:25 PM PST All I would like it to do is: - input data (durations) - do calculations based on the data - present the data - make a widget - do pop-up notifications based on calculations of the data - option to export the data / do (automatic) back-ups Thank you in advance! :) [link] [comments] | ||
Posted: 30 Jan 2021 04:45 AM PST | ||
Migrating Your Design System to Jetpack Compose Part 3: Interop & Testing Posted: 30 Jan 2021 09:49 AM PST
| ||
The Crazy Android Fragment Bug I’ve Investigated Posted: 29 Jan 2021 11:39 PM PST
| ||
Android Currency Converter with RxJava2, Dagger2, Retrofit and Kotlin Channel Posted: 30 Jan 2021 09:15 AM PST
| ||
Posted: 30 Jan 2021 09:03 AM PST Compose and SWIFT UI are really similar to Flutter views, and furthermore Flutter takes care of iOS, Android differences in a cool way. What is the technical difficulties in developing a clean architecture app, that could use the view layer of DART? I guess are two different compiler right, not expert. But the point is `why not using a kind of way to repaint compose and swift UI in C++ as flutter does?`, so that one can develop one view in both the platforms, maybe not in DART necessarily... Please do not get angry with me I sincerely want to ask to understand, this is something I cannot find in the internet really easy. Thanks, your newbe [link] [comments] | ||
Kotlin Coroutines Fundamentals Posted: 30 Jan 2021 08:53 AM PST
| ||
Play Console Publish Timeline Question (With Ads SDK) Posted: 30 Jan 2021 08:53 AM PST I have been updating my app via play console everyday. It used to take only 15 to 30 mins to get reviewed. However, two days back I did add 'ratings sdk' and 'ads sdk' to my app. Now, it has been more than 2 days and my app has still not been reviewed. My best guess is that now a human will first review the app because of ads sdk. Has anyone else faced this or is there something else that I should be looking for. 15 mins publish time did highly reduced my development time. So, I am extra curious. [link] [comments] | ||
First Time Dev: Error with Gradle Sync Posted: 30 Jan 2021 08:51 AM PST Hi, I'm completely new to android development and just downloaded Android Studio today. I am following this tutorial which seems to be going well until it asks me to open activity_main.xml - when I tried to open it, it gives me this error: Thanks in advance! [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