Search in sources :

Example 6 with PostLocation

use of org.wordpress.android.fluxc.model.post.PostLocation in project WordPress-Android by wordpress-mobile.

the class EditPostSettingsFragment method setLocation.

private void setLocation(double latitude, double longitude) {
    mPostLocation = new PostLocation(latitude, longitude);
    new GetAddressTask().execute(mPostLocation.getLatitude(), mPostLocation.getLongitude());
}
Also used : PostLocation(org.wordpress.android.fluxc.model.post.PostLocation)

Aggregations

PostLocation (org.wordpress.android.fluxc.model.post.PostLocation)6 AppCompatButton (android.support.v7.widget.AppCompatButton)1 View (android.view.View)1 ViewStub (android.view.ViewStub)1 AdapterView (android.widget.AdapterView)1 Button (android.widget.Button)1 TextView (android.widget.TextView)1 NetworkImageView (com.android.volley.toolbox.NetworkImageView)1