Closed seaskyways closed 7 years ago
Hi @seaskyways,
This line smells a bit funky:
override fun isViewFromObject(view: View?,
object: Any?): Boolean = true
Maybe this is the problem? See https://developer.android.com/reference/android/support/v4/view/PagerAdapter.html#isViewFromObject(android.view.View,%20java.lang.Object)
Ahh it worked. It totally is my problem. I overridden this method since I thought I was required to. Now it works , thanks man
Hello. This is my first time using this library so I may be missing something. What happened is the following: I had to fragments , implement Step, an extension of AbstractFragmentStepAdapter. And the result was two tabs, two pages, two steps, and two fragments overlapping in the first tab (1st fragment on top). Here is some code, written in Kotlin, Anko, and XML. Fragment 1:
Fragment 2:
Adapter:
product_form_stepper.xml (included in my layout)
Result is as follows: Step 1:
Step 2:
Go back to step 1: