
Search In
In the below example i have created ViewFlipper function. Here I have used ViewFlipper attribute in main.xml layout. ViewFlipper can be used to slide views in and out on the users current view port. I have used two buttons When we will click next but
Hello Reader's! if you are dealing with excess whitespace on the beginning or end of the string then you can use trim(), ltrim() or rtrim() to remove them. Also If have to delete extra spaces within a string consider a preg_replace() of multiple whit
In the below exmaple I have created Toolbar. Here I have used In activity_main xml.layout a toolbar and TextView, and In MainActivity I have used toast function. You can see the below example it will clearly describe you how to create Toolbar with t
Sometimes if we have to write some joins sql query in magento we cand write those joins as :
public function joins()
{
$table = $this->getMainTable();
$table2 = $this->getTable('customer/entity');
$cond =
Hi friends,
Whenever a request comes to a server, the first thing comes into picture is routes, that tells the request about which controller's action will respond to that request. When I started creating my first application one thing always co
Hello Readers,
In this blog i am going to show you "How to select, insert, add, update/edit and delete data in the Magento.
Lets Suppose, If you have database table named 'slider' with the following fields
id(int,primay key), title(varch
Do you have lots of data of an employee and you want to filter it without using database query then you can use predicates that also provides you queries on beans or model class.
Basically predicates comes from predicate function that returns true o
Sometimes we need to show the list with different views so for this we can inflate two layouts in RecyclerView. To know how it is achieved follow the steps mentioned below:-
Create two layouts xml files I have named them "programs_recyl
Hi Friends,
In my previous blog Routes in Rails using Objects, I explained about using routes with objects. Today I am going to tell you about how we can customize the routes that are created using resources. As we know whenever we mention resources
Magento is certainly a well known open-source CMS (content management system) quite useful for all e-commerce websites. Both sellers & and Magento developers admire its flexible framework, scalability, architecture plus the ability
