Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UgcRouteSharingOptionsActivity.java « routes « ugc « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a63a977e80e46ce25406bf4e9b4d18bf3de23ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.mapswithme.maps.ugc.routes;

import android.app.Activity;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import com.mapswithme.maps.R;
import com.mapswithme.maps.bookmarks.data.BookmarkCategory;

public class UgcRouteSharingOptionsActivity extends BaseUgcRouteActivity
{
  public static final int REQ_CODE_SHARING_OPTIONS = 307;

  @Override
  protected Class<? extends Fragment> getFragmentClass()
  {
    return UgcSharingOptionsFragment.class;
  }

  @Override
  protected int getContentLayoutResId()
  {
    return R.layout.fragment_container_layout;
  }

  public static void startForResult(@NonNull Activity activity, @NonNull BookmarkCategory category)
  {
    startForResult(activity, category, UgcRouteSharingOptionsActivity.class, REQ_CODE_SHARING_OPTIONS);
  }
}