get Double From RatingBar - Android User Interface

Android examples for User Interface:RatingBar

Description

get Double From RatingBar

Demo Code


//package com.java2s;

import android.widget.RatingBar;

public class Main {
    public static Double getDoubleFrom(RatingBar ratingBar) {
        return Double.valueOf(ratingBar.getRating());

    }/*from   ww w  . j  a  v  a2 s. c  om*/
}

Related Tutorials