Questions tagged [jetpack-compose-accompanist]

Accompanist is a group of libraries that aim to supplement Jetpack Compose with features that are commonly required by developers but not yet available.

https://github.com/google/accompanist

128 questions
0
votes
1 answer

Compose - Scroll VerticalPager to the top when outer HorizontalPager is scrolled

I have a VerticalPager inside HorizontalPager. When I scroll VerticalPager down to the Nth page in the 1st page of the HorizontalPager, then scroll to other pages in HorizontalPager, then come back to the 1st page of the HorizontalPager the Nth page…
0
votes
0 answers

Unresolved reference: accompanist

I am simply trying to generate apk of my android jetpack compose project. But It is throwing error as Unresolved reference: accompanist. While building and debugging, I didn't face any error. Error is only when generating the signed bundle. error:…
0
votes
3 answers

How to adjust tabRow indicator width according to the text above it?

i want to adjust tabrow's indicator width according to text above like this. But I don't know how to manipulate the width of the indicator in a generic way. Intended: My Code: TabRow( // Our selected tab is our current page …
0
votes
2 answers

vertical scroll in viewpager jetpack compose is not working

Facing issue with a vertical scroll in Horizontal View Pager using Accompanist. Can't scroll the column vertically inside HorizontalViewPager. So take a look at code and make corrections on how can fix it or any other solution. If possible will be…
0
votes
1 answer

Navigating quickly using Accompanist Animated Navigation in Jetpack Compose causes app crash

When using the Accompanist AnimatedNavHost and navigation animations, if I go to a screen and then back (using system back button) quickly a few times in a row, the app crashes. I suspect this is a bug in Accompanist (I've submitted an issue on the…
Cameron
  • 1,281
  • 1
  • 19
  • 40
0
votes
1 answer

Can't read file - FileNotFoundException - Android 11, compose, ActivityResultContracts, READ_EXTERNAL_STORAGE

I'm trying to read a file from external storage /some/path/somefile.txt In the manifest I have When I click button to try to read file that was picked by…
0
votes
1 answer

Google Accompanist FlowLayout library breaks Compose (Cannot access class 'InteractionState')

I have the following Compose dependencies, where $compose_version is 1.0.0-alpha12: This builds fine. However, the second I try to build this project after adding a com.google.accompanist:accompanist-flowlayout:0.19.0 dependency, I see this error…
-1
votes
2 answers

Accompanist FlowRow : is it possible to scroll down automatically in order to show an element?

In my Jetpack Compose project, one of my components uses a FlowRow from Accompanist. But I don't know how to make the FlowRow scroll to a given "node". Here the relevant code from my @Composable: sealed class MovesNavigatorElement(open val text:…
loloof64
  • 5,252
  • 12
  • 41
  • 78
1 2 3
8
9