• Breaking News

    Wednesday, October 6, 2021

    Android Dev - Video playback in LazyColumn in Jetpack Compose

    Android Dev - Video playback in LazyColumn in Jetpack Compose


    Video playback in LazyColumn in Jetpack Compose

    Posted: 06 Oct 2021 01:10 AM PDT

    Suggestions how to prepare for job interview?

    Posted: 06 Oct 2021 05:54 AM PDT

    Basically the title. What should I (and how) prepare for the job interview.

    I'm coding for last 5 years, but got a little bit rusty since was doing more of management stuff last 2 years. Last thing I used was MVVM/RxJava2/Dagger2.

    I understand Hilt is on the rise. Maybe jetpack compose? Coroutines? Any new architecture? Some yt playlist I can go through? Any questions etc.

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

    Is there anything wrong to do repository operation from inside RecyclerView Adapter?

    Posted: 06 Oct 2021 06:27 AM PDT

    I want to fetch some data from inside recyclerView adapter. Is there any bad effect of this procedure? Will it introduce bugs?

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

    Need your help geofencing every place in Manhattan

    Posted: 06 Oct 2021 09:04 AM PDT

    Hello.

    I'm trying to create probably the world's greatest check-in app. The only problem is, I don't have geofences for every single place in the world.

    That's why I need your help.

    With your help, we could create the greatest location-based app ever created.

    If you help me geofence every place in Manhattan, we could change the world. If you're interested, let me know and I'll add your Places username to an admin list.

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

    7 things you should know before using Jetpack Compose

    Posted: 06 Oct 2021 08:37 AM PDT

    Making games about chidren fairy tales

    Posted: 06 Oct 2021 07:06 AM PDT

    Hi. Can i create a video game about children fairy tales, like Alice in Wonderland, Harap Alb or A little march girl?

    Are there any copyright issues? Or do i need to do something? Or its free for all to create content based kn those

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

    Is Samsung's "Color theme" in One ui 4 beta 2 different from Google's material you?

    Posted: 06 Oct 2021 06:21 AM PDT

    Just updated to the newer beta and was excited to see what I thought was material you in this beta, but even after enabling all the correct flags in chrome canary it seems to be on the default color still. Is it a different API or just not fully implemented?

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

    Can someone link or help me out with what data can we get on publishing an app to play store?

    Posted: 06 Oct 2021 04:16 AM PDT

    Like the various stats, most downloaded from which country etc etc

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

    RecyclerView Fast Smooth Scroll To Top

    Posted: 05 Oct 2021 06:18 PM PDT

    Drag to reorder in Jetpack Compose

    Posted: 05 Oct 2021 09:35 AM PDT

    Drag to reorder in Jetpack Compose

    https://i.redd.it/ep088leisnr71.gif

    Good day! This is my last article in my first series about list animations in compose. I hope that this article is helpful!
    LINK: https://developersbreach.com/drag-to-reorder-compose/

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

    8 Tips Learned from Adding Payments to DoorDash's Android App

    Posted: 05 Oct 2021 12:06 PM PDT

    Port forwarding proxy from host machine to android emulator

    Posted: 05 Oct 2021 09:29 PM PDT

    AdSense account has been disabled even though app is in early access.

    Posted: 05 Oct 2021 09:41 AM PDT

    Our app is currently in early access and we are running google ads to promote our website so that we gain users and collect data to find bugs before we launch. We tried adding admob ads just to test and released a build and within a couple of days our admob account was disabled. We then removed the admob ads from the app and re-released a new build w/o ads, and also submitted an appeal form but was rejected due to invalid traffic. Is the admob account permanently closed?

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

    This was reported in 2012 ��

    Posted: 05 Oct 2021 02:52 PM PDT

    Constraint layout, textview and ellipsize, a sad long story..

    Posted: 05 Oct 2021 02:17 PM PDT

    Constraint layout, textview and ellipsize, a sad long story..

    I have to do a simple layout:

    To do that I have written the followed layout:

    https://preview.redd.it/dpg3wv42csr71.png?width=280&format=png&auto=webp&s=a5452cdeeaf24880ae6735d4c270799255c28629

    <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="110dp" android:layout_height="90dp" android:background="@android:color/holo_purple"> <ImageView android:id="@+id/item_icon" android:layout_width="0dp" android:layout_height="0dp" android:layout_gravity="center_horizontal" android:layout_marginTop="5dp" android:visibility="visible" android:scaleType="fitXY" app:layout_constraintBottom_toTopOf="@+id/item_label" app:layout_constraintDimensionRatio="1:1" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_percent="0.38" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" tools:src="@tools:sample/avatars" tools:visibility="visible" /> <TextView android:id="@+id/item_label" android:layout_width="0dp" android:layout_height="0dp" android:layout_marginStart="5dp" android:layout_marginTop="2dp" android:layout_marginEnd="5dp" android:layout_marginBottom="2dp" android:ellipsize="end" android:gravity="center_horizontal|center_vertical" android:includeFontPadding="false" android:textColor="#FFA0A0A0" android:textStyle="bold" android:textSize="11sp" app:autoSizeMaxTextSize="11sp" app:autoSizeMinTextSize="8sp" app:autoSizeTextType="uniform" app:layout_constraintBottom_toTopOf="@+id/price_bottom_barrier" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/item_icon" tools:text="Product yeah Led Tv - White asd asd left right" android:background="@color/yellowError"/> <TextView android:id="@+id/item_right_price_bottom" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="13dp" android:layout_marginEnd="10dp" android:layout_marginBottom="3dp" android:background="#26525A6B" android:gravity="center" android:lines="1" android:textColor="#FF5b6b8d" android:textSize="10sp" android:textStyle="bold" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" tools:text="100000000€" tools:visibility="visible" /> <androidx.constraintlayout.widget.Group android:id="@+id/price_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" app:constraint_referenced_ids="item_right_price_bottom" app:layout_constraintBottom_toTopOf="@+id/item_icon" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" tools:visibility="visible" /> <androidx.constraintlayout.widget.Barrier android:id="@+id/price_bottom_barrier" android:layout_width="wrap_content" android:layout_height="wrap_content" app:barrierDirection="top" app:constraint_referenced_ids="item_right_price_bottom" tools:layout_editor_absoluteY="102dp" /> </androidx.constraintlayout.widget.ConstraintLayout> 

    But there is a little tedious issue.. There isn't space for the third row but the ellipsize not appears.

    The text in the item_label TextView doen't resize and moreover the ellipsize doesn't works.

    The text goes under the bottom price. I don't understand why.

    I'm tring to create a dinamic layout, without create different layout, sw600, sw720, but it is not so easy ..

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

    Unity, app bundle signing keys, ELI5

    Posted: 05 Oct 2021 01:38 PM PDT

    Hello!

    I'm so sorry if such simple questions are not allowed or if it's a wrong place to ask.

    I've been developing my first game for android and right now I've been integrating google play services into it and learning how to work with dev console. I've always thought i'm good at troubleshooting and researching on my own but i think i've hit a wall now. Everything works, but i just don't understand mechanism behind the topic at all and hope someone can explain to me how to work with signing keys.

    So, initially I were not uploading my game to play store and tested app locally. I've made my own keystore via keystore manager in unity, got my fingerprint, made client id with it and enjoyed gpg services working.

    Now, i've uploaded app bundle to internal testing, and services stopped working as intended. After a bit of research, i've realised that when i gave google rights to manage my keys, google actually generated new keys for me, and according to google's tip window i had to use fingerprint from signing key in "app integrity" section. I've updated the credentials, and now everything is working!

    However, I'm not satisfied, since, as i said, i don't quite understand what is happening here:

    1) Do i understand correctly that after i've uploaded app bundle in console google have re-signed it for me using its own keys?

    2) I still have my custom keystore being used in project settings in unity. Is there any use for it anymore? Should i ignore it when it comes to releasing app on play store? Can i have second credential using fingerprint from my own key to test app outside of play store? I can't replace it with google's key since it's "not accessible, and is kept on a secure Google server".

    3) What is the upload key below my signing key? When do i even use it? It says that i need it to "sign each release so that Google knows that updates are from me", but was it not app signing key purpose in the first place?

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

    Calculating dips by the formula px/dp = dpi/dpi for screen resolution

    Posted: 05 Oct 2021 12:38 PM PDT

    Nexus 7, 1280 • 800 pixels with 213 dpi. How do we come to the conclusion of 960 • 600 dp for the phones resolution?

    submitted by /u/maniac-hardnose-mike
    [link] [comments]

    No comments:

    Post a Comment