Greyson Parrelli
Greyson Parrelli
Copying the comment @rohannexialabs referred to: ``` repositories { maven { url 'http://guardian.github.com/maven/repo-releases' } } dependencies { compile 'com.gu:option:1.3' compile 'net.rdrei.android.dirchooser:library:3.2@aar' } ``` This fixed it for me.
The main reason for the weak reference is that mActivity is held statically in memory (it's a member of a singleton). Imagine you switch activities from a PermisoActivity to a...
Hmm, checking for permissions in the background is an interesting case. Your activity can bind/unbind to the service in onResume/onPause (if you aren't doing that already), and so the service...
I'm having this same problem on Ubuntu 16.04.
Hey, just like on your other PR, I didn't see that you merged in master and got the build working. I'm going to look into this PR in more depth...
PR looks good! Just merge in master so I can see the true diff, and we should be good from there.
Hmm, that's interesting. Android seems to think your activity is in the process of finishing. In the comments on the issue filed against Google there's a project that's supposed to...
Ok, so I tried out that project I mentioned and it does, in fact, crash. As you said, the problem goes away when switching to the non-support DialogFragment. Of course...
Hi @zokipirlo thanks for looking into this further, I really appreciate it! However, looking at your solution, it's awesome that it works, but I'm not sure if it's the best...
You're right, you should use `onResumeFragments()` if that method is available to you (i.e. you're using `FragmentActivity` or `AppCompatActivity`). Also, if you're trying to solve this generically then you'll have...