mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Safely reference parent fragment from adapters
This commit is contained in:
@@ -65,7 +65,7 @@ public class FragmentLogs extends FragmentBase {
|
||||
LinearLayoutManager llm = new LinearLayoutManager(getContext());
|
||||
rvLog.setLayoutManager(llm);
|
||||
|
||||
adapter = new AdapterLog(getContext());
|
||||
adapter = new AdapterLog(this);
|
||||
rvLog.setAdapter(adapter);
|
||||
|
||||
// Initialize
|
||||
|
||||
Reference in New Issue
Block a user