• Breaking News

    Thursday, June 9, 2022

    Android Dev - Kotlin 1.7.0 Released

    Android Dev - Kotlin 1.7.0 Released


    Kotlin 1.7.0 Released

    Posted: 09 Jun 2022 08:27 AM PDT

    Dialogs - Jetpack Compose, Lottie, Gifs - Android Library

    Posted: 09 Jun 2022 03:45 PM PDT

    Dialogs - Jetpack Compose, Lottie, Gifs - Android Library

    Dialogs is an Android library to ease the initialization of dialogs in android apps through Jetpack Compose.

    Topics

    Features

    • Written in Kotlin
    • No boilerplate code
    • Easy initialization
    • Written for Jetpack Compose

    I have added a cool sample app that helps better understand the usage.

    GitHub - https://github.com/akshaaatt/Dialogs-Android

    Make sure to star the project if you appreciate the work :)

    Hope this helps you out!

    Dialogs

    submitted by /u/akshaaatt
    [link] [comments]

    Any tips for navigating from old xml to compose using nav graphs?

    Posted: 09 Jun 2022 07:32 PM PDT

    It seems that the old nav graph stuff is not really compatible with compose nav graphs.

    For example if you navigate from an xml to a compose, I cannot easily navigate back to the parent without some hacks.

    Does anyone have tips for this? I tried compose destinations during some beta and that was really nice, but I'm not sure it would solve my issue at all since it's using compose nav underneath.

    Navigating in and out of xml/compose is really frustrating especially if you have args.

    submitted by /u/kotlineng
    [link] [comments]

    Collapsible App Bar With MotionLayout in Jetpack Compose

    Posted: 09 Jun 2022 09:51 AM PDT

    Update on getPackageManager().resolveActivity() in new sdk 30

    Posted: 09 Jun 2022 04:11 AM PDT

    I recently upgraded my android application from targetsdkversion 29 to 32 and found that there is a new restriction on package visibility using the package manager.

    getPackageManager().resolveActivity() returns "null"

    Therefore I would like to share how to resolve that if someone updates their app from targetsdkversion <30 to 30 or above (which is compulsory to host app on google play)

    In order to get the available packages - Queries has to be added into your manifest. Inside application tag.

    Example:

    <queries> <!-- WebView --> <intent> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" /> </intent> </queries> 

    Just Remove getPackageManager().resolveActivity() line of code, instead put the intent block of code in try-catch.

    See more on : https://developer.android.com/about/versions/11/privacy/package-visibility

    Different use cases: https://developer.android.com/training/package-visibility/use-cases

    submitted by /u/dmukul
    [link] [comments]

    I hate Gradle Kotlin DSL

    Posted: 09 Jun 2022 09:28 AM PDT

    No idea why it seems so trendy compared to Gradle Groovy: it's slower, less stable, more verbose, harder to read and write, more limited, and most examples are still in Groovy and I'm already bored of wasting literally hours trying to translate them to Kotlin.

    I had successfully avoided it until earlier this week when I wanted to try to build a Kotlin Multiplatform Mobile app and couldn't find any example using Gradle Groovy.

    submitted by /u/A12C4
    [link] [comments]

    Is it possible to use Google Maps Live View inside my app?

    Posted: 09 Jun 2022 02:42 PM PDT

    Hello guys, I was wondering if there is some kind of API that allows me to call Google Maps Live View inside my app. Basically what I want in my app is to guide a user to the nearest bus stop with the help of AR, possibly using Google Maps Live View.

    I've been searching the web and haven't found anything at all, so I'm guessing there isn't, although I hope I'm wrong.

    submitted by /u/efg94
    [link] [comments]

    Android Developer Kit and Kotlin

    Posted: 09 Jun 2022 02:39 PM PDT

    You probably see these all the time I'm having trouble finding a faq post.

    These are the only two things I am wanting to learn and understand. Is there a bootcamp or something I can take to do so? I'm absolutely overwhelmed with the amount of options that are out there. I've tried free boot camps that are tailoring it towards previous Java experience. I've no coding experience. I dont know how to use or navigate github. I really want to start from ground up. The only thing I've found is the developers google resources that is what I'm looking for but hands on. I can self teach and learn but it's very slow and a struggle. I dont know what an interger is or main function. Is there step by step that you recommend or along side as I watch a video and learn the basic basics? TLDR I am wanting a experience that teaches Kotlin and Android developers studio only.

    submitted by /u/Tenlai
    [link] [comments]

    Want some advice on learning Native Android.

    Posted: 09 Jun 2022 01:38 PM PDT

    Let me give you a bit of a back story. I started my Mobile app development journey with Native Android (Java) and built some basic apps with it. Then, I switched to Flutter dev, and for the last 2 years, I have been developing apps using it. I am pretty confident with my skills in Flutter.

    Now, I want to improve my skills in Native Android with Kotlin as the language.
    Can you guys please suggest to me some good mid-advanced tutorials?

    submitted by /u/SpecificPlankton
    [link] [comments]

    I'm 30, looking to change careers to Android Development/Developing

    Posted: 09 Jun 2022 01:27 PM PDT

    I'm looking to change careers into android development/development in general. I'm an introvert in a highly extroverted field and I'm struggling with seeing a future in it. What draws me to android development is logic, problem-solving, creativity, and being able to poor pure focus and attention to it. (Hopefully, that makes sense)

    I currently don't have any experience except for the Google Android Development class which I'm loving so far. I know I have a long road ahead of me so I wanted to ask what do you recommend learning right away/what will potentially be useful in the future? I'm trying to avoid traditional schooling because of costs, but am more than willing to work my ass off to gain the necessary skills.

    Any help is appreciated!

    submitted by /u/Glum-Help
    [link] [comments]

    Anyone implemented drag and drop correctly with imageViews?

    Posted: 09 Jun 2022 01:09 PM PDT

    I'm having some issues implementing drag and drop with images. I've read the documentation through and through, but I'm a noob so it only helps so much. Does anyone have a link to a repo using this feature that I could look at id appreciate it a lot.

    submitted by /u/Lydianlol
    [link] [comments]

    Flutter vs Native react, I know once again...

    Posted: 09 Jun 2022 02:59 PM PDT

    Hey guys, I know this topic has been repeated many times, but it is really confusing and I get the feel that there is no right or wrong answer, yet many people defend one over the other.

    I want to develop apps and do occasional freelance work, but mostly make my own apps.

    I hear that flutter is faster and easier to learn

    While I hear that Native react has more job opportunities, and learning JavaScript while harder will be useful in other areas?

    Am I missing something or is this all there is to it?

    submitted by /u/LiamSi00
    [link] [comments]

    How To Animate CardView To Bottom

    Posted: 09 Jun 2022 07:24 AM PDT

    I have several stacked CardViews with CheckBoxes inside. I'd like to have a cardview move to the bottom of the stack once it's checked. Not sure how to do this. Kotlin preferred. Thanks

    submitted by /u/Altohombre
    [link] [comments]

    Displaying data from firebase realtime database as a list.

    Posted: 09 Jun 2022 10:30 AM PDT

    How to go about displaying data from firebase realtime database in my app using Listview that shows each product individually and also shows the user that posted the item. If its too complex would be ideal to use a recyclerView?Any suggestions?

    submitted by /u/Disastrous-Donut7759
    [link] [comments]

    Is it possible to change hint's position in an EditText?

    Posted: 08 Jun 2022 11:49 PM PDT

    Is it possible to change hint's position in an EditText?

    Is there any way to change the hint's position in an OutlinedEditText from here:

    OutlinedEditText hint

    To here (inside of the EditText):

    https://preview.redd.it/kw394hzhlj491.png?width=210&format=png&auto=webp&s=e997207dbded0dfe0019f8d91c064f05d85d4069

    Thoughts? Any help would be highly appreciated!

    submitted by /u/hex_peson
    [link] [comments]

    Best programming language to build a full app

    Posted: 09 Jun 2022 11:36 AM PDT

    Hello everyone, I have zero experience in app development and I want to make my own apps.

    I am looking for the programming languages I should learn to make the widest array of apps, for both android and IOS.

    I tried looking online, but I keep finding terms that I do not understand, such back end, front end, this language is supported, this is native.

    I will highly appreciate it if you could tell me the best languages to develop a full app and why those languages are the best.

    Thank you.

    submitted by /u/LiamSi00
    [link] [comments]

    CSS Filter for Flutter: Apply filters in Flutter as you use CSS

    Posted: 08 Jun 2022 10:44 PM PDT

    No comments:

    Post a Comment