riku
2022-02-18 d59d55575d913646b7a90fca651904ab889c6723
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)
        }
    }
}