引用Dialog必须是当前context 否则会报错
java.lang.IllegalArgumentException: Cannot add the same observer with different lifecycles
这种是因为在fragment LiveData.observe用的this而不是context
引用Dialog必须是当前context 否则会报错
java.lang.IllegalArgumentException: Cannot add the same observer with different lifecycles
这种是因为在fragment LiveData.observe用的this而不是context