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)
|
}
|
}
|
}
|