Java Code Examples for org.telegram.ui.Components.EmbedBottomSheet#show()

The following examples show how to use org.telegram.ui.Components.EmbedBottomSheet#show() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MediaActivity.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
private void openWebView(TLRPC.WebPage webPage) {
    EmbedBottomSheet.show(getParentActivity(), webPage.site_name, webPage.description, webPage.url, webPage.embed_url, webPage.embed_width, webPage.embed_height);
}
 
Example 2
Source File: MediaActivity.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
private void openWebView(TLRPC.WebPage webPage) {
    EmbedBottomSheet.show(getParentActivity(), webPage.site_name, webPage.description, webPage.url, webPage.embed_url, webPage.embed_width, webPage.embed_height);
}
 
Example 3
Source File: MediaActivity.java    From Telegram-FOSS with GNU General Public License v2.0 4 votes vote down vote up
private void openWebView(TLRPC.WebPage webPage) {
    EmbedBottomSheet.show(getParentActivity(), webPage.site_name, webPage.description, webPage.url, webPage.embed_url, webPage.embed_width, webPage.embed_height);
}
 
Example 4
Source File: MediaActivity.java    From Telegram with GNU General Public License v2.0 4 votes vote down vote up
private void openWebView(TLRPC.WebPage webPage) {
    EmbedBottomSheet.show(getParentActivity(), webPage.site_name, webPage.description, webPage.url, webPage.embed_url, webPage.embed_width, webPage.embed_height);
}