Questions tagged [androidimageslider]

47 questions
3
votes
1 answer

Retrieve images from firebase realtime database and show in image slider using picasso

I trying to retrieve images from firebase realtime database and show these image back as an image slider(slideshow) using picasso. This only allows me to retrieve the last image stored in firebase. Any help would be very much appreciated! enter…
3
votes
1 answer

Different Duration for Different Images

I have used daimajia/AndroidImageSlider library. How can i set Different Duration for Different Images ?? is it possible to set different duration for images ?? For instance if there are two Categories of Images, category A duration will be 15 sec…
Zobair Alam
  • 527
  • 1
  • 5
  • 24
2
votes
1 answer

How to reduce the delay for action upon item click in Android RecyclerVIew?

I have a RecyclerView and when I click on item it should display an imageSlider with some images(just 2 or 3). Everything works fine but there's a little delay on click, something it takes 2 seconds which is very annoying? How can I fix it? This is…
2
votes
2 answers

How to change Text of the TextView on sliding of images using daimajia/AndroidImageSlider Library?

I am trying to use daimajia/AndroidImageSlider library for imageslider in my app. I am trying to change the text of a TextView with the change of the image in slider but i am not able to see any text inside the TextView even and one more thing the…
1
vote
0 answers

How to implement a Toast with mutableStateof for 3sec in a horizontal image slider

@Composable fun Sample() { Column( Modifier .fillMaxWidth() ) { val pagerState = rememberPagerState() HorizontalPager( count = 7, state = pagerState, modifier =…
1
vote
1 answer

Getting IndexOutOfBoundsException: Index: 1, Size: 1 error when trying to get value from the Firestore and show Image Slider

I am trying to get the image URL from my Firestore database to create a remote image list (SlideModel) and show them in an image slider. I am getting the following error and the app crashes. I don't know what I am doing wrong. Error Process:…
Codist
  • 737
  • 8
  • 23
1
vote
0 answers

Why is there an error java.lang.ExceptionInInitializerError when using an ImageSlider in a recyclerView in Kotlin?

I am trying to show images in an ImageSlider in a recyclerView. What I have done is, as the images to be fetched from Firebase storage, I created an array of SlideModel within the adapter class. There will be a minimum of 1 and a maximum of 5…
Codist
  • 737
  • 8
  • 23
1
vote
1 answer

How to solve Received status code 401 from server: Unauthorized problem?

How to fix 401 Problem, I try to implement autoimageSlider and it done successfully but when i upgrade my android studio version with latest one i got this kind of errrors. and I also tried to switch to offline mode from gradle but nothing works…
fez khan
  • 13
  • 4
1
vote
1 answer

How to Implement Auto Image Slider inside Fragment

I'm Using the Following Library in my project to Auto Slide images. It works fine inside Activities but when it comes to Fragment it throws a null pointer exception when the context is passed As getContext();or getActivity(); instead of this;. I…
1
vote
2 answers

How to modify the code to have image slideshow in android?

I am trying to make a slideshow of a few images while making an android app. I am using this code below final int[] array = {R.drawable.cow_1, R.drawable.cow_2, R.drawable.cow_3, R.drawable.cow_4}; for (int i = 0; i < 4; i++){ final int finalI =…
1
vote
1 answer

how to show a part of next image in daimajia slider?

I'm using daimajia slider library. But I need to show part of prev, next images. It looks like this. I can't find options. How can I do this?
01hanst
  • 577
  • 6
  • 19
1
vote
2 answers

Image slider moving fast in android when comeback from another activity

In my android app I have an image slider using viewpager,which changes images every 2.5 seconds in the main activity,it works fine when I open the app,but the problem is when I jump to another Activity from the MainActivity and come back it,starts…
user5157559
1
vote
1 answer

Image Slider with recyclerview scrolling

I have a bit of a problem with the SliderView I created. The sliderview can not be scrolled at the same time as the recyclerview. I've tried adding ScrollView but it still seems to be still. Here is the layout: …
1
vote
1 answer

Stop autocycle of image slider when activity destroyed / finish()

I am using an Image slider by https://github.com/daimajia/AndroidImageSlider Which is a image slider showing in login activity, When activity A(login) start activity B(Dashboard) by finish() intent, In Android Studio Monitor I can still see the…