{"action":"created","issue":{"url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/28","repository_url":"https://api.github.com/repos/gowong/material-sheet-fab","labels_url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/28/comments","events_url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/28/events","html_url":"https://github.com/gowong/material-sheet-fab/issues/28","id":147874546,"number":28,"title":"Problems after applying animation to Fab","user":{"login":"phyora","id":1908451,"avatar_url":"https://avatars.githubusercontent.com/u/1908451?v=3","gravatar_id":"","url":"https://api.github.com/users/phyora","html_url":"https://github.com/phyora","followers_url":"https://api.github.com/users/phyora/followers","following_url":"https://api.github.com/users/phyora/following{/other_user}","gists_url":"https://api.github.com/users/phyora/gists{/gist_id}","starred_url":"https://api.github.com/users/phyora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phyora/subscriptions","organizations_url":"https://api.github.com/users/phyora/orgs","repos_url":"https://api.github.com/users/phyora/repos","events_url":"https://api.github.com/users/phyora/events{/privacy}","received_events_url":"https://api.github.com/users/phyora/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gowong/material-sheet-fab/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T21:14:49Z","updated_at":"2016-04-12T21:53:19Z","closed_at":null,"body":"Hi\r\n\r\nI am applying an animation to the Fab to hide/show it when a list is scrolled. I apply the animation as so:\r\n\r\nfab.startAnimation(anim)\r\n\r\nThe Fab animates correctly however when you tap the Fab after it has been animated the Fab does not transition into the material sheet correctly. Instead the Fab button grows in size and is drawn above the material sheet. Tapping it several more times makes it grow even larger until the app crashes with this exception:\r\n\r\nOpenGLRenderer: Error: Ambient Vertex Buffer overflow!!! used 480, total 320\r\n\r\nIs there a way to reinitialise the Fab after an animation has been applied to it?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/comments/209118110","html_url":"https://github.com/gowong/material-sheet-fab/issues/28#issuecomment-209118110","issue_url":"https://api.github.com/repos/gowong/material-sheet-fab/issues/28","id":209118110,"user":{"login":"phyora","id":1908451,"avatar_url":"https://avatars.githubusercontent.com/u/1908451?v=3","gravatar_id":"","url":"https://api.github.com/users/phyora","html_url":"https://github.com/phyora","followers_url":"https://api.github.com/users/phyora/followers","following_url":"https://api.github.com/users/phyora/following{/other_user}","gists_url":"https://api.github.com/users/phyora/gists{/gist_id}","starred_url":"https://api.github.com/users/phyora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phyora/subscriptions","organizations_url":"https://api.github.com/users/phyora/orgs","repos_url":"https://api.github.com/users/phyora/repos","events_url":"https://api.github.com/users/phyora/events{/privacy}","received_events_url":"https://api.github.com/users/phyora/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T21:53:19Z","updated_at":"2016-04-12T21:53:19Z","body":"Oops I spoke to soon! After implementing the sample code and calling animatedFab.show() and animatedFab.hide() a few times I have a similar issue.\r\n\r\nThe Fab will sometimes appear twice the size after calling show and tapping it will cause an incorrect animation into the sheet. Tapping it again causes this exception: OpenGLRenderer: Error: Ambient Vertex Buffer overflow!!! used 480, total 320\r\n\r\nI am using the exact same code listed here: https://github.com/gowong/material-sheet-fab/blob/master/sample/src/main/java/com/gordonwong/materialsheetfab/sample/Fab.java#L98\r\n\r\nI'm using a Nexus 6 running Android 6.0.1. Have you experienced this before?\r\n\r\nThanks"}}