korlibs / korlibs/korge

Invoking main() in a Fragment

Open
#414 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

Hi all,

[This resource](https://github.com/korlibs/korge-samples/blob/231fa10e28e44a0e1415aaa1d031c11f382a55bd/integrations/android/app/src/main/java/org/korge/korgeviewexample/MainActivity.kt) talks about invoking the `main()` function from an `Activity`. My question is, is it possible to invoke `main()` within a `Fragment`, which was written `Kotlin`?

Please advise.

Thanks in advance,
rey malahay

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the referenced integrations/android/app/src/main/java/org/korge/korgeviewexample/MainActivity.kt example and the surrounding Android integration entry points. Determine whether Fragment support is documented or already scoped; done would require a clear supported approach or a more specific implementation request.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.