jetpack-compose-accompanist Questions
6
Using accompanist-pager version 0.25.1, animateScrollToPage() doesn't seem to scroll all the way to make the next page fully visible, the previous page is still shown. The non animated version scro...
Liechtenstein asked 14/9, 2022 at 9:4
2
Solved
I'm using SwipeRefresh view in compose (from accompanist). I have LazyVerticalGrid inside it, and grid populates paging data from network. If there's no content in paging data, i'm showing empty st...
Pippy asked 25/1, 2022 at 14:43
4
A few days ago I bumped on a problem where a part of my view is overlaped by keyboard.
Let's say we have 3 different dialogs (could be any content), which looks like this:
When I want to write in ...
Hoggish asked 5/1, 2022 at 17:46
6
I want to implement transparent status bar in jetpack compose.
I have integrated the Accompanist library for this but it has no transparent effect on status bar.
implementation "com.google.acc...
Rooke asked 14/11, 2022 at 9:29
4
Solved
I'm using Scaffold for my main screen with a fixed bottomBar that is visible in every screen of the app, and I'm applying the innerPadding of the Scaffold to its content.
I want the keyboard to app...
Riordan asked 24/3, 2022 at 22:23
3
Solved
I'm pretty new to jetpack and am following this guide.
When trying to create my tabs I'm hitting an UnresolvedReference and I'm not sure why
@ExperimentalPagerApi
@ExperimentalMaterialApi
@Composab...
Metamorphose asked 9/12, 2022 at 14:44
2
Solved
I implemented a simple HorizontalPager which works mostly as expected. The app I develop is for one specific device, a 8" Tablet in landscape mode. At the moment it is required to swipe more t...
Marijn asked 31/5, 2022 at 8:32
6
Situation
I'm writing a pretty simple app using Kotlin & Android Jetpack Compose
I have a scaffold containing my navHost and a bottomBar.
I can use that bottomBar to navigate between three main...
Guttate asked 23/8, 2021 at 15:43
0
I'm trying to find a solution for displaying multiple bottom sheets on top of each other to accomodate our UX/Design.
Currently been trying with Accompanist and Compose Navigation Reimagined, but t...
androidandroid-jetpack-composeandroid-navigationjetpack-compose-navigationjetpack-compose-accompanist
Sigismond asked 17/3, 2023 at 13:0
3
Solved
I've created a fairly classic collapsing image layout in Jetpack compose, where I have an image at the top of the screen which parallax scrolls away and at a certain point I change the toolbar back...
Cerys asked 28/9, 2021 at 11:16
6
Solved
I am using JetPack Compose Pager from Accompanist and I'm wonder how do I know exactly when my page is Showed at screen. Like onPageSelected method from ViewPager.
Here is my code:
HorizontalPager(...
Louvre asked 25/7, 2021 at 19:27
2
Solved
I want a similiar effect to TikToks profile screen.
On top is the ProfilPicture and username, below that is a stickyHeader with a TabRow (Posts, Drafts, Likes, Favorites) and below that is a Horizo...
Shavon asked 14/5, 2022 at 14:2
2
I want to know how to detect when the user has revoked permission(denied permission twice) in the accompanist permission library, I also checked the library's GitHub repository and samples are old....
Rod asked 20/2, 2022 at 5:26
1
Solved
I was trying to create a sample Tab View in Jetpack compose, so the structure will be like
Inside a Parent TabRow we are iterating the tab title and create Tab composable.
More precise code will be...
Taryntaryne asked 15/11, 2022 at 17:29
1
I am using com.google.accompanist:accompanist-permissions:0.25.1 in my project. I am trying to request bluetooth permission in runtime which is requesting. I want to know how user know that permiss...
Garling asked 25/9, 2022 at 11:42
2
Solved
There are two screens in my app. The first screen shows the list of images on the device by using the Paging3 library in a vertical grid. Now, when the user clicks on an image, I am passing the cli...
Ionize asked 12/8, 2022 at 11:58
0
My apps performance is pretty good overall, the only part where the FPS drops is when swiping through the HorizontalPager by accompanist.
Each Page has a simple LazyVerticalGrid with 3 fixed column...
Stubby asked 1/9, 2022 at 17:57
4
Solved
I recently migrated from Accompanist's ImagePainter to Coil's, below is the pertinent code after my updates.
val painter = rememberImagePainter(DRAWABLE_RESOURCE_ID)
when (painter.state) {
is Ima...
Taintless asked 26/8, 2021 at 4:9
2
Solved
I am using coil(version 2.1.0) to load images from URL. When there is network connection, the images are loading fine. However, when there is no network connection, the images are not being pulled ...
Cosmorama asked 14/7, 2022 at 14:10
1
I have tried accompanist library for navigation from this article and I want to prevent bottom sheet to be closed when I click on the background of bottom sheet (the gray area) and to make it non c...
Forgather asked 26/4, 2022 at 6:22
1
Solved
I know that a normal bottom sheet can be setup like this
rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
confirmStateChange = { it != ModalBottomSheetValue.HalfExpand...
Miterwort asked 10/5, 2022 at 21:46
1
Solved
I'm learning accompanist pager and I want to set effect on the pager.
I want to use the lerp method like the document
Modifier.graphicsLayer {
// Calculate the absolute offset for the current page...
Weide asked 3/3, 2022 at 16:23
1
Solved
I have a HorizontalPager
val pageCount = bannerList.size
val startIndex = Int.MAX_VALUE / 2
val pagerState = rememberPagerState(initialPage = 100)
HorizontalPager(
count = Int.MAX_VALUE,
state = ...
Fandango asked 29/3, 2022 at 6:12
1
Solved
i want to scroll the view pager horizontally on button click in jetpack compose.Anyone have any idea about this ? Here i am using Accompanist library.
Overcasting asked 17/2, 2022 at 18:5
1
Solved
I'm using Google's Accompanist Horizontal Pager, and I need the pager to wrap content size. For some reason it fills max size. Currently it's a child of constraint layout, however I tried putting i...
Fuji asked 1/12, 2021 at 0:11
1 Next >
© 2022 - 2025 — McMap. All rights reserved.