-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Managing bindings in bindable RecyclerView adapter and view holders (#…
…561) * Added possibility to attach/detach bindings in existing BindableViewHolders * Renamed OnDestroy -> CleanUp * Fixed NullReference * Fixed attaching bindings multiple times in BindableViewHolder inheritors --------- Co-authored-by: Pavel Leonenko <[email protected]>
- Loading branch information
1 parent
3aae257
commit 73280be
Showing
4 changed files
with
64 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Softeq.XToolkit.Bindings.Droid/Bindable/IBindableRecyclerViewAdapter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Developed for PAWS-HALO by Softeq Development Corporation | ||
// http://www.softeq.com | ||
|
||
namespace Softeq.XToolkit.Bindings.Droid.Bindable; | ||
|
||
public interface IBindableRecyclerViewAdapter | ||
{ | ||
void DoAttachBindings(); | ||
void DoDetachBindings(); | ||
void CleanUp(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters