Code example for RatingBar

Methods: getRating

0
				{ 
 
					@Override 
					public void onClick(DialogInterface dialog, int which)
					{ 
						raAdapter.setRating(position, ratingBar.getRating());
						 
					} 
				}).setNegativeButton("ȡ��", null).show();
	} 
 
	@Override 
	public void onCreate(Bundle savedInstanceState)
	{ 
		super.onCreate(savedInstanceState);
 
		List<View> viewList = new ArrayList<View>();
		viewList.add(getLayoutInflater().inflate(R.layout.rating_main, null));
		raAdapter = new RatingAdapter(this);
		setListAdapter(raAdapter);
Stop searching for code, let great code find you!  Add Codota to your java IDE