M m643 Member Licensed User Longtime User Dec 9, 2016 #1 Hello all, I'm trying to use the libary DonManfred to load the floating action menu for each panel in my custom listview. When I click the action button i'm trying to get the sender but I get the error "java.lang.ClassCastException: de.donmanfred.FloatingActionMenuWrapper$1 cannot be cast to com.github.clans.fab.FloatingActionMenu" When I look closer to the sender I receive: In the sender I expect what is inside this$0 Can anybody help how to cast this$0 to the FloatingActionMenu
Hello all, I'm trying to use the libary DonManfred to load the floating action menu for each panel in my custom listview. When I click the action button i'm trying to get the sender but I get the error "java.lang.ClassCastException: de.donmanfred.FloatingActionMenuWrapper$1 cannot be cast to com.github.clans.fab.FloatingActionMenu" When I look closer to the sender I receive: In the sender I expect what is inside this$0 Can anybody help how to cast this$0 to the FloatingActionMenu
M m643 Member Licensed User Longtime User Dec 10, 2016 #2 This topic can be closed, I fixed it in an other way Upvote 0
MarcoRome Expert Licensed User Longtime User Dec 10, 2016 #3 m643 said: This topic can be closed, I fixed it in an other way Click to expand... Which way ? Is a good habit, when the problem is resolved, insert the solution, this could help other people. Thanks Upvote 0
m643 said: This topic can be closed, I fixed it in an other way Click to expand... Which way ? Is a good habit, when the problem is resolved, insert the solution, this could help other people. Thanks
M m643 Member Licensed User Longtime User Dec 10, 2016 #4 MarcoRome said: Which way ? Is a good habit, when the problem is resolved, insert the solution, this could help other people. Thanks Click to expand... You're right sorry, I used the obj parameter to get its parent instead of using the sender. Upvote 0
MarcoRome said: Which way ? Is a good habit, when the problem is resolved, insert the solution, this could help other people. Thanks Click to expand... You're right sorry, I used the obj parameter to get its parent instead of using the sender.