1
0
mirror of https://github.com/akaessens/NoFbEventScraper synced 2025-06-05 23:29:13 +02:00

scrape more events from pages

This commit is contained in:
akaessens
2020-09-27 14:23:45 +02:00
parent e549ca7676
commit 43913ccd21
5 changed files with 61 additions and 25 deletions

View File

@ -22,7 +22,7 @@ public class FbScraper {
protected List<AsyncTask> tasks;
url_type_enum url_type = url_type_enum.EVENT;
private String input_url;
private WeakReference<MainActivity> main; // no context leak with WeakReference
protected WeakReference<MainActivity> main; // no context leak with WeakReference
/**
* Constructor with WeakReference to the main activity, to add events.