Fragment to Fragment/Activity Communication – Android Studio Tutorial

In this video we will learn how to send data between two fragments. Since fragments should be modular, reusable components, the communication happens over an interface that the underlying activity implements. This way we can send data from a fragment to an activity and from there to another fragment either by calling a public method or by instantiating a new fragment and sending the values as arguments to it.

Example code:
https://codinginflow.com/code-examples/android/fragment-to-fragment-communication

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclosure: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

BottomNavigationView with Fragments – Android Studio Tutorial

In this video you will learn, how to add a bottom navigation to your activity and use it to switch between different fragments. We will fill our BottomNavigationView with 3 menu items and then check which item was selected with the OnNavigationItemSelectedListener interface and a switch statement. We will then create the appropriate fragment and display it in a FrameLayout with help of the getSupportFragmentManager, beginTransaction and replace methods.

Example code + dependency:
https://codinginflow.com/code-examples/android/bottomnavigationview

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2018-02-25 03:38:11
Duration: 16M7S
Views: 2377
Likes: 74
Favorites: 0

How to Open a New Activity and Pass Variables to It – Android Studio Tutorial

In this Video we are going to learn, how to open a new Activity (for example by clicking a Button) and how to send data to it via Intent-Extras. This way we can send Strings, Integegers, Booleans and so on.

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2017-10-14 00:38:54
Duration: 12M22S
Views: 5485
Likes: 77
Favorites: 0

Write Text File to Internal Storage – Android Studio Tutorial

In this video we will save a string to the internal storage of our device. We will use a FileOutputStream to save the data in bytes. Then we use a FileInputStream and a BufferedReader to read them back into our app and rebuild our string using a StringBuilder. We will also catch any IOExceptions.

Source code:
https://codinginflow.com/code-examples/android/write-to-internal-storage

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2017-11-21 17:10:33
Duration: 11M5S
Views: 5530
Likes: 76
Favorites: 0

How to Make a Button Open a New Activity – Android Studio Tutorial

In this video we will learn, how to open a new Activity from a Button click. For this we will create a new Intent and pass it to the startActivity method.

______________________________
Free 7-day trial for Treehouse courses:
https://treehouse.7eer.net/c/1141770/228915/3944

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣ http://amzn.to/2jGADD6
-Head First Android Development: ➣ http://amzn.to/2jHAmQz

Best equipment for long hours of coding:
-Keyboard: ➣ http://amzn.to/2khXPvJ
-Mouse: ➣ http://amzn.to/2jFYBi7

My recording equipment:
-Microphone: ➣ http://amzn.to/2DxbW4A

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂

Channel: Coding in Flow
Published: 2017-10-11 20:18:26
Duration: 3M22S
Views: 40283
Likes: 451
Favorites: 0

Android Studio Tutorial – 69 – Fragment Example

This video demonstrate a simple android fragment example using android studio.
Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies
Channel: PRABEESH R K
Published: 2015-07-25 09:13:46
Duration: 14M38S
Views: 57471
Likes: 245
Favorites: 0

Android App Debugging & SwipeRefreshLayout Implementation

Working on my Android app. Programming in Kotlin. Implementing SwipeRefreshLayout into my app in a few fragments. This is how I’m teaching myself Android application development.

My first live stream so it is a bit rusty/awkward…I’ll get better :p

1:35 – Starting point of application
3:26 – The struggle begins…
16:36 – I realize that SwipeRefreshLayout can wrap my ScrollView, not just my LinearLayout…
20:40 – Fix home screen so that SwipeRefreshLayout works but no onRefreshListener implemented
22:21 – Researching onRefreshListener implementation
24:57 – Implementing onRefreshListener
31:20 – onRefreshListener finished for home fragment
34:30 – Researching SwipeRefreshLayout for rankings fragment
36:30 – Demo of TapTargetView library (https://github.com/KeepSafe/TapTargetView)
39:53 – Find other guy’s code for SwipeRefreshLayout in rankings fragment
42:05 – SwipeRefreshLayout implementation for rankings fragment
50:20 – SwipeRefreshLayout and onRefreshListener works for rankings fragment
53:02 – Conclusion

How to add Swipe To Refresh Layout to Android app – Android Studio

It’s easy.
Like, Comment your questions
And Please Subscribe

-~-~~-~~~-~~-~-
Please watch: “Wallpapers App – Firebase App – Creating Project – Android Studio – Part 1”
https://www.youtube.com/watch?v=OuM1SOzmrMo
-~-~~-~~~-~~-~-

Channel: Android Grid
Published: 2017-04-30 06:19:10
Duration: 3M58S
Views: 1455
Likes: 12
Favorites: 0

Customizing Timber Behavior

In this video you’ll learn how to customize Timber logging behavior. This video includes:

– Customize the Tag in Timber to include source code line numbers
– Only log debug in the debug builds using build variants
– Restrict logging for release build variants.
– How to log caught exceptions to crash reporting tools like Crashlytics

Watch more videos at http://caster.io or my YouTube channel – https://www.youtube.com/channel/UCX-K1HK8ejnnQF_GWcMHveg.

Channel: Donn Felker
Published: 2015-10-17 20:14:45
Duration: 4M44S
Views: 1430
Likes: 17
Favorites: 0

Set Up a Home Hacking & Programming Lab Pt. 2

*Sorry in advance for the echo/reverb in my microphone in some parts of the video…I will fix this for future videos*

This video will show you some additional features available in Virtualbox such as shared folders, snapshots, and more. We will create a backup of our installation so that from this point forward, you always have a correctly configured lab environment to revert to in case anything breaks. So go ahead and mess around wi

~~ Links ~~
VirtualBox Extension Pack: https://www.virtualbox.org/wiki/Downloads

Channel: Spitfyre SecDev
Published: 2018-03-02 03:14:03
Duration: 12M37S
Views: 110
Likes: 5
Favorites: 0

Linux Command Line for Beginners

This video takes you through the process of getting comfortable using the command line. The Linux manual pages are by far the best place to start. Here are also some solid resources to get started learning how to use the Linux command line:

Top 50 Linux Commands: https://www.webair.com/community/top-50-linux-commands/
The Linux Command Line (free e-book): http://www.linuxcommand.org/tlcl.php

Like and subscribe please! Thanks for watching.

Channel: Spitfyre SecDev
Published: 2018-03-09 00:42:27
Duration: 17M39S
Views: 337
Likes: 6
Favorites: 0

Introduction to Linux for Beginners

New to Linux? Want to learn how to use the command line like a REAL hacker/programmer? This video is the first in a new playlist that will serve as an beginners guide to start using the Linux operating system.

This video is broken up into three parts:
1) The Linux Filesystem
2) The Linux Command Line
3) Who is Root & What is Sudo?

Linux commands cheat sheet: https://files.fosswire.com/2007/08/fwunixref.pdf

Channel: Spitfyre SecDev
Published: 2018-03-06 04:53:01
Duration: 27M48S
Views: 213
Likes: 9
Favorites: 0