feat: update demo

This commit is contained in:
2023-09-23 20:56:55 +08:00
parent 6f8072dd52
commit ac04eacbd4
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class MainActivity : AppCompatActivity() {
super.onCreate(savedInstanceState)
ActivityMainBinding.inflate(layoutInflater).apply {
setContentView(root)
yukiReflectionVersionText.text = "YukiReflection Version: ${YukiReflection.API_VERSION_NAME}(${YukiReflection.API_VERSION_CODE})"
yukiReflectionVersionText.text = "YukiReflection Version: ${YukiReflection.VERSION}"
testObjectDirectlyButton.setOnClickListener {
tipText.text = Main("I am directly call of new object").getContent()
}

View File

@@ -59,7 +59,7 @@ import com.highcapable.yukireflection.type.java.StringClass
@Composable
fun MainLayout() {
val currentVersion = "YukiReflection Version: ${YukiReflection.API_VERSION_NAME}(${YukiReflection.API_VERSION_CODE})"
val currentVersion = "YukiReflection Version: ${YukiReflection.VERSION}"
val operationState = remember { mutableStateOf("Waiting for your operation") }
Column(
modifier = Modifier.fillMaxSize(),