wangjiegulu / RapidFloatingActionButton

Quick solutions for Floating Action Button,RapidFloatingActionButton(RFAB)
Apache License 2.0
1.29k stars 254 forks source link

NullPointer while instantiating RapidFloatingActionHelper #5

Closed TunaYagci closed 9 years ago

TunaYagci commented 9 years ago

Okay I got that problem and I'm thinking what causes that is this: rfaContent.setOnRapidFloatingActionContentListener(this); In your Readme, you wrote it like above but that method doesn't even exist in your library.

     rfaContent.setOnRapidFloatingActionContentLabelListListener(this);

So I used code above(because u used it in your examples), but it gives error too. Which method is true, can you help?

TunaYagci commented 9 years ago

Looks like I didn't inject layout and that was causing this problem.

We can close this issue but you still should change your readme as I explained above.