https://kotlinlang.org logo
#korge
Title
# korge
m

Marcin Wisniowski

06/04/2020, 11:28 AM
Hello, I've just learned about KorGE. The website says:
You can also use KorGE as a library and for example integrated it in your android-only project.
But I don't see that anywhere in the documentation. How can I use KorGE as a library for an Android app? I.e. I have an existing Android app project, and I want to add a new screen where I use KorGE (imagine an easter egg game screen in a normal non-game app). So I'd need to put KorGE in an Android
View
or
Fragment
.
👋 1
d

Deactivated User

06/04/2020, 2:00 PM
@Pablo Caviglia Hey Pablo. What did you do here? You created a custom View, right?
p

Pablo Caviglia

06/04/2020, 2:00 PM
hey!
👋 1
yeah, right
one sec, let me share it with you
🙏 1
you'll need to cleanup all the imports related to 'senaptec'
that's the project I'm working right now and i haven't isolated this custom korge's classses with my own project
d

Deactivated User

06/04/2020, 2:03 PM
Hey Pablo, can I add those to KorGW, so other people can use them?
p

Pablo Caviglia

06/04/2020, 2:04 PM
of course you can, in fact if you do that i'll start using your implementation
👍 1
sorry i said i'd do it but i'm really complicated with deliverables at my work and weren't able to do the PR
d

Deactivated User

06/04/2020, 2:05 PM
Yeah, don’t worry. I’d prefer the PR since you would get credit, but I can add a comment or something if you want in the code to state that
p

Pablo Caviglia

06/04/2020, 2:05 PM
nah man, no problem, if there's someone who should have the credits is you
i'm just using your great work
🙏 1
d

Deactivated User

06/04/2020, 2:06 PM
Thanks. Okay, I’ll add it. Feel free to make PRs to do adjustments if you find issues there 👍
p

Pablo Caviglia

06/04/2020, 2:06 PM
👏
m

Marcin Wisniowski

06/04/2020, 7:26 PM
Uhh, so getting back to my question, I guess support for a KorGE View is getting merged soon then? 😅
d

Deactivated User

06/04/2020, 7:27 PM
I’ll try to merge that soon, though maybe in the weekend, depending on the time I have. You can use those clases yourself in the meantime 🙂
m

Marcin Wisniowski

06/04/2020, 7:28 PM
That's great. Thank you.
p

Pablo Caviglia

06/04/2020, 7:28 PM
yeah, the only downside is that there's some custom code of my project, as i told you remove anything imported that contains the word 'senaptec'
you should go on fine after that
2 Views