Amit Pandey

Amit Pandey

Professional Android App and Full Stack Web Developer, Blogger, Entrepreneur And Founder of Legend Blogs. I am always trying to learn new things or new possible ways to do things.

Refresh a fragment list from activity

If you want to call any method of Fragment from your activity then you need to implement INTERFACE. So now I am going to introduce Interface example to Refresh a fragment list from an activity of all any method.

Explode string by last occurrence and get first part
php

Explode string by last occurrence and get first part

Some of the cases we need to split any string or it may be my URL to split. Now I am explaining to you, how to explode the string by the last occurrence at getting the first part of the string in a single line. This who;e process will be done using Explod

Exception handling in php
php

Exception handling in php

Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. PHP has an exception model similar to that of other programming languages.