public override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); ContentView = R.layout.activity_smartclip; TextView tv = (TextView) findViewById(R.id.text_static); SlookSmartClip sc = new SlookSmartClip(tv); sc.clearAllMetaTag(); sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com")); sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview.")); Button gotoPinAll = (Button) findViewById(R.id.gotopinboard); gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this); }
public override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); ContentView = R.layout.activity_smartclip; TextView tv = (TextView)findViewById(R.id.text_static); SlookSmartClip sc = new SlookSmartClip(tv); sc.clearAllMetaTag(); sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com")); sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview.")); Button gotoPinAll = (Button)findViewById(R.id.gotopinboard); gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this); }
internal virtual void init() { mSmartClip = new SlookSmartClip(this); mSmartClip.DataExtractionListener = new DataExtractionListenerAnonymousInnerClassHelper(this); }