[android-developers] Trying to implement "passkeys" in Android app

2023-06-18 Thread arielm
Hello, I'm following this tutorial: https://developer.android.com/training/sign-in/passkeys It mentions the following required step: // Get passkeys from the user's public key credential provider. GetPublicKeyCredentialOption getPublicKeyCredentialOption = new

[android-developers] What is the life-cycle of a BitmapDrawable?

2010-01-10 Thread arielm
There is probably some kind of image caching system behind the scenes, but I can't find any implementation details... Scenario 1: ImageView v1, v2; ... v1.setImageResource(R.drawable.img1); v2.setImageResource(R.drawable.img1); I guess that img1.png won't be loaded and decoded twice. Instead,

[android-developers] How to keep the selected item of a ListView vertically centered?

2009-11-18 Thread arielm
Scenario: 1) A ListView with many items (i.e. scrolling will occur at some point) 2) At the beginning, the selection is at the top (item #0) 3) User is scrolling down (i.e. we're not in touch mode) 4) For the first items, the selection is moving down without the list to scroll. 5) Once the

[android-developers] Re: How to keep the selected item of a ListView vertically centered?

2009-11-18 Thread arielm
, 2009 at 6:21 PM, arielm chronot...@gmail.com wrote: Scenario: 1) A ListView with many items (i.e. scrolling will occur at some point) 2) At the beginning, the selection is at the top (item #0) 3) User is scrolling down (i.e. we're not in touch mode) 4) For the first items, the selection