Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

by Binxalot » Wed, 21 Apr 2010 05:41:23 GMT


Sponsored Links
 I'm coming over from C# where I can make a namespace and then have
each class placed into its own .cs file if I want, but in all of the
examples I've seen for android all of the methods and classes are all
in one big java file.

Is it possible to put my classes in to their own java files and then
import those classes into a main program java file as needed like I do
in C#?

--



Other Threads

1. (Share) pMessenger

Masi banyak yg pake pMessenger disini?..
Niubi lg pengen jajal (abuse dikit) dulu :P
Monggo di add ya : 20150450


Regards,
Hoesin [pisang]
www.pisangshop.com

-- 
"Indonesian Android Community [id-android]" 

2. ListView, with Header, Trackball Scrolling Problem

Hi Group,

I have a problem with using ListView headers when scrolling with the
trackball.

I have replicated the problem by adding the below code to the List1
activity in the APIDemos (the top_story layout just wraps a TextView
in a LinearLayout).

LayoutInflater inflater = (LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v1 = inflater.inflate(R.layout.top_story, null);
getListView().addHeaderView(v1,null,false);

Basically the problem is that the entire header view changes size when
trying to drag it up in touch mode after you have scrolled down (far
enough to make the header disappear off screen) and then back up the
list with the trackball. This issue doesn't occur if you are only
using the list in touch mode.

Any advice or recommendations?

Thanks in advance.

Cheers,

Jason

-- 

3. Android Library Broken

4. SamsungFirmwares.com: No Official Froyo Updates For Spic

5. Wiigo

6. Gps issues in real phone

7. Samsung Galaxy S Offers Best Overall Android Graphics Performance