我正在编写一个简单的django应用程序,其中我所有的apis都是基于类的视图集。我有以下两个方法的视图集(两个不同的api调用),但在其中一个api中,我想访问另一个api的方法。<viewtwo-logic> print(e) 视图集2向我抛出了以下内容
AttributeError: This method is available
我有一个数据库,它存储图像的密钥。因为数据库查询不应该阻塞主线程,所以查询在另一个线程上执行。new Thread() { public void run() { final Image image = new Image(atlas.findRegion(resultOfQuery));
Gdx.app.postRunnable(new Ru
如果我在从TextureAtlas检索到的Texture上调用sprite.getTexture().dispose();,整个屏幕就会变黑。, when this is called, the whole screen becomes black}
通过不对从FallingObject类中的sprite检索到的texture调用