i working on integrating spine in android application dependent on libgdx.
we intend use spine display animations sparsely throughout app however, can see libgdx documentation (and poking through source code) not seem libgdx design in such way used in embedded context (such showing 1 time animation @ start-up). can used in such manner static references android component (either activity or fragment) used initialize libgdx context seems imply android componenet should android component used.
from can see documentation, using libgdx androidfragmentapplication seems fit closest use case want achieve there better way doesn't require libgdx store static references fragment cause memory leak once fragment destroyed?
(i aware there simple way around this, such nulling out static references once user leaves fragment want there not better way)
Comments
Post a Comment