summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-07-30 18:44:57 -0500
committerSamuel Holland <samuel@sholland.org>2017-07-30 18:44:57 -0500
commite000a17bc95852eb599c250806faf25e8c9b1e70 (patch)
treec2513661dd83ecfd3a7080a7abad3800cd48cea6 /.gitignore
parent187c2d977735456d56a8db74413fac6ef50c9161 (diff)
binding: Weakly reference adapter in list change callback
This allows the ObservableListAdapter to be garbage collected along with its activity. On the next list change, the OnListChangedCallback will detect that the adapter is gone and clean itself up. This avoids needing to manually remove the list from the adapter, as would otherwise be required to break the reference cycle adapter→list→listener→adapter. This will be relevant once the list of profiles outlives the activity.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions