fixed MeetingsController constructor
This commit is contained in:
@@ -17,13 +17,15 @@ import java.io.ObjectOutputStream;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class MeetingsController {
|
public class MeetingsController {
|
||||||
private Context context;
|
private final Context context;
|
||||||
|
private final Activity activity;
|
||||||
|
|
||||||
public MeetingsController(Context context) {
|
public MeetingsController(Context context) {
|
||||||
this.context = context;
|
this.context = context;
|
||||||
|
this.activity = (Activity) context;
|
||||||
}
|
}
|
||||||
|
|
||||||
Activity activity = (Activity) context;
|
|
||||||
|
|
||||||
public String meetingsToString(ArrayList<Meeting> listMeetings) {
|
public String meetingsToString(ArrayList<Meeting> listMeetings) {
|
||||||
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
||||||
|
|||||||
Reference in New Issue
Block a user