Facebook – https://www.facebook.com/TheNewBoston-464114846956315/ GitHub – https://github.com/buckyroberts Google+ …
NO HANDLE BARS. NO HANDLE BARS
Hi guys and girls. Do somebody know, how can i scroll in my Menu.java? Cause emulator don't show me the Slider item and can't scroll down.
hi! I was wondering what is the replacement to sliding drawer? Since, u know, it's been deprecated in api 17!
hi guys, i'm working on an application where i use Slidersi was just wondering is there an option i can make the slider come back if it is not dragged till the end?
Something went wrong. Can I use Eclipse to regenerate R.java? I clicked clean and it deleted my R.java file. Anyone able to help?
deprecated means:" you better start thinking of other features because this one is gonna be removed soon…" It is better than they suddenly remove some feature…
Running into serious problems witht he depreciated slidingdrawer… but this:
seems like a promising if slightly painful way to get it running again…
its because he is using an older version of the sdk, slidingdrawer has been depreciated, you could write your own sliding drawer or keep using the old one and hope it still works on newer devices
Why is everything so deprecated
"Personally, I would dump SlidingDrawer and do something else for all new app development.
That being said, SlidingDrawer should be in the Android SDK for the foreseeable future. As the docs note, Google is not supporting it any more, which means, potentially, sometime, it may no longer work at all and will have to be dropped. If you are still using it at that time, then you will have a decision to make."
Got this from an StackOverflow question. So yeah, recommended not to use it in future apps
SlidingDrawer is Deprecated…what we can use instead?
7:22 "ill slide through the code quickly…" i see what you did there…
ctrl space will make life easier
I put everything as instructed, but the drawer is still sliding no matter if the checkbox is checked or not… any ideas why? :/
Same here. It seems that new API doesn't support it anymore for some reason. But if you get annoyed by that yellow error as much as I do, you can write:
just one line above "public class Slider extends Activity implements…"
I am getting warning "the type slidingdrawer is deprecated".
my code is executing though
WHERE HAVE YOU BEEN IN MY LIFE!
thanks a lot, create tutorial!
You can get the source code for the entire project here at his mybringback website under tutorials and Android thenewboston
Do you have code anywhere so that I can download it and look up in my computer
I am in error in the file reslayoutsliding.xml. The app was working until I update the SDK; gave error after updating the widget SlidingDrawer error: View API requires level 3 (current is 1 min): SlidingDrawer
Please help!!! whenever I click on the slider option in the menu it just force closes. I think I put it in the manifest correctly, I can't find anything wrong but it still force closes. Thanks.
only problem i had on this was the lock not working for toggle. in the video you state it will work but do not test it. Maybe this is addressed later but it still opens/closes from that button for me, while the open/close and handle buttons do nothing toggle still works.
I know it's kind of late in the series to be wondering, but why do we always have to typecast all our initializations? Can we do it without the typecast?
You can add handle1-4.setVisibility(Button.GONE) to the onDrawerOpened() to make the buttons disappear when opened. use Button.VISIBLE to show them again.
This is by far the most organised tutorial…HAHA 😀 !
CTRL+Shift+O for automatic importing.
and here is the extends and implements:
public class Slider extends Activity implements OnClickListener,
this is what your imports should be:
Great stuff, straight to the point, as always
Getting easier by the day. Love you bro
this was easier than the graphics part
just excellent travis. keep up the good work!!!
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.