fnp
/
wl-app.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added Android code
[wl-app.git]
/
Android
/
app
/
src
/
main
/
java
/
com
/
moiseum
/
wolnelektury
/
base
/
mvp
/
FragmentPresenter.java
1
package com.moiseum.wolnelektury.base.mvp;
2
3
public class FragmentPresenter<V> extends FragmentLifecyclePresenter {
4
5
private V view;
6
7
public FragmentPresenter(V view) {
8
this.view = view;
9
}
10
11
@Override
12
public void onDestroy() {
13
super.onDestroy();
14
this.view = null;
15
}
16
17
protected V getView() {
18
return view;
19
}
20
21
}