AndEngineのChangeableTextに少し問題があります。画面をフリーズすることなくテキストを更新する方法を知りたいですか?今の私は、この方法を使用していますが、多分2~3秒間自分の携帯電話を凍結ます:Android AndEngine - ChangeableTextの値を更新する方法
private void removeFace(final Sprite face) {
hm = getIconNames();
if(face.getUserData().equals("petrol")){
elapsedText.setText(hm.get(25));
final PhysicsConnector facePhysicsConnector = this.mPhysicsWorld.getPhysicsConnectorManager().findPhysicsConnectorByShape(face);
this.mPhysicsWorld.unregisterPhysicsConnector(facePhysicsConnector);
this.mPhysicsWorld.destroyBody(facePhysicsConnector.getBody());
this.mScene.unregisterTouchArea(face);
this.mScene.detachChild(face);
} else {
}
System.gc();
}
任意のアイデアはどのようにそれを行うには?