riku
2022-01-20 5a0fff8095cd5356f57c181b7e7b820e0f7efacf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.flightfeather.ducha.module.login
 
import cn.flightfeather.thirdappmodule.activity.LoginActivity
import cn.flightfeather.thirdappmodule.adapter.ContentFragmentAdapter.onGetItemInterface
 
/**
 * @author riku
 * Date: 2021/7/29
 */
class DCLoginActivity : LoginActivity() {
 
    override fun getCardFragments(): onGetItemInterface {
        return onGetItemInterface { position: Int ->
            var a = position % 3
            if (a < 0) a = 0
            DCCardFragment.newInstance(a + 1, position)
        }
    }
}