tinker icon indicating copy to clipboard operation
tinker copied to clipboard

GetApplicationContent == null

Open orionoxe opened this issue 10 years ago • 1 comments

SampleApplicationContext.application = getApplication(); SampleApplicationContext.context = getApplication().getApplicationContext();

这边获得的context 是 null。

orionoxe avatar Sep 26 '16 10:09 orionoxe

@shwenzhang 这两句应该写在oncreate中

orionoxe avatar Sep 26 '16 11:09 orionoxe