@_Hitesh_
Software engineering Enthusiast
Nothing here yet.
Nothing here yet.
No blogs yet.
While learning about Event Handling I came across the the below code Button button = (Button) findViewById(R.id.button_send); button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Do something in response...
I know what callback method is, but i'm confused what is the use of it? We can make a call to another function from an calling function, then why pass reference to function as an argument ? I see lot of callback methods being used in Android and I ne...
How does Collection.sort() work in Java? What roles do Comparable and Comparator play in sorting? How can I implement Collection.sort() in my program? I am having tough time understanding above concepts. Please help me in understanding these conc...